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

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -