Skip to content
TimFletcher edited this page Mar 8, 2012 · 1 revision

Devise is installed by default.

If needed, you can tweak the authentication hooks it in your rails_admin.rb initializer:

Example for Warden with an 'admin' scope:

config.authenticate_with do
  warden.authenticate! :scope => :admin
end
config.current_user_method { current_admin } # hook to your 'current_user' method
Clone this wiki locally