Frage

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

War es hilfreich?

Lösung

Try to use current_admin_user. because the ActiveAdmin user model is called 'AdminUser' by default.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top