4 ms·
Not very opinionated at all, your application controller must expose a method to authenticate a user, and another to get the current user (defaults to :current_
by grncdr 14y ago
Not very opinionated at all, your application controller must expose a method to authenticate a user, and another to get the current user (defaults to :current_user which works out-of-the-box with Devise). Both method names can be configured in the initializer that is generated on install from this template: https://github.com/gregbell/active_admin/blob/master/lib/generators/active_admin/install/templates/active_admin.rb.erb#L61 https://github.com/gregbell/active_admin/blob/master/lib/gen...
I haven't used ActiveAdmin in a few months, but when I last did I was really impressed.