Try to use current_admin_user
. because the ActiveAdmin user model is called 'AdminUser' by default.
how to access current_user in activeadmin rails
-
19-06-2023 - |
Вопрос
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
Решение
Не связан с StackOverflow