I recently injected Devise into my new application with Omniauth, however I'm not sure how to change the default signin path in Devise so that when called:
user_authenticated!
It is redirected to the authentication controller page.
Any ideas how to do this?
EDIT: better explain my problem →
What I want - this is when a user tries to access a page that requires logon, and then sent to users / sign _in using user_authenticated before filter parameter, but I want them to be redirected to /authafter user_authenticated!not users / sign_in.
source
share