Home Rails / Devise / Link to login page and pass it a redirect route to use after successful login
Reply: 0

Rails / Devise / Link to login page and pass it a redirect route to use after successful login

user354
1#
user354 Published in July 21, 2018, 1:46 pm

How can I link to the devise login page and pass it a specific redirect_to route for a successful login. (the specific route has to change -> so overriding Devise RegistrationsController is not the proper option, or it has to be dynamic ...)

or

How can I add a redirect url to Devise new_user_session_path()

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.313692 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO