Reputation: 1654
How to access current_user in activeadmin rails?
like devise current_user, but i'dont know how to call current_user in active_admin rails?
thanks before
Upvotes: 0
Views: 1721
Reputation: 3732
Try to use current_admin_user
. because the ActiveAdmin user model is called 'AdminUser' by default.
Upvotes: 3