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

Popular posts from this blog

c# - Roxy file manager in MVC doesn't accept session path -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -

java - Ajax call to jsp and jsp redirecting to further jsp -