Install Devise Masqerade
Assumptions:
You have Devise installed
You're using Administrate for the admin area
https://github.com/oivoodoo/devise_masquerade
https://www.youtube.com/watch?v=C03adOMm-EA
Here's what I did:
Installed the gem
Added the following line to
app/views/admin/application/show.html.erb
Added this to app/models/user.rb
, :masqueradable
Add the following to
app/views/layouts/application.html.erb
(or somewhere at the top of the DOM):
Last updated