Ruby on Rails Thursday, May 26, 2016

Devise docs have a section on configuring multiple models: https://github.com/plataformatec/devise#configuring-multiple-models. If you follow the instructions it should work.

On Wed, May 25, 2016 at 3:50 PM, John Smith <lists@ruby-forum.com> wrote:
I'm building a web site. There will be users and admins. Users will have
their own authentication panel and admins must have absolutely different
authentication entry point and administrative panel. I know how to build
a Rails app with one authentication entry point, but how to make an
application with different authentication entry points e.g. /users/login
& /admin/login? Both panels are not connected with each other and have
absolutely different logic.

Thank you for your answers in advance.

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/fbb84343a04636998f87a78eca6d1f15%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.



--
Greg Navis
I help tech companies to scale Heroku-hosted Rails apps.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAA6WWt85ivcW8Zrk22eRHo3ajmXFd2-B_C9nrmLcs-AYcjxFWA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment