I’d like to have an unauthenticated user be directed to the Login form
(with no other access to the application), then only after they
successfully login,
they get redirected to the root url of the application.
How do I do this?
Thanks,
Per
I’d like to have an unauthenticated user be directed to the Login form
(with no other access to the application), then only after they
successfully login,
they get redirected to the root url of the application.
How do I do this?
Thanks,
Per
Hi!
You can use a before filter in your controller.
Look at this example:
Best Regards,
Everaldo
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs