activeadmin - how does devise works with multiple models? -
My project uses planning for the active admin as well as the user admin I have an independent plan for both the user and the active admin I want to implement the behavior. Please suggest suitable answer.
Thanks in advance.
As you have planned for more than one resource, you can identify it again by processing Can redirect to different locations like
def after_sign_in_path_for (resource) case processing when user then {redirect_path} when admin then {redirect_path} end up
Comments
Post a Comment