Text
Devise, authenticate_user! and redirect
While working with a new rails project for my current employer I hooked up Devise for authentication. I wanted all redirects to for authenticate_user! to be sent to /login. Getting this to work was relatively easy and here’s the files I had to edit.
This was all I need to do to get the redirects working.
-
keynotetis8 likes this
-
alexanderok59 likes this
-
spurgeoncc likes this
-
gloria2fg likes this
-
fitzpatrickyou834 likes this
-
heatheryi982 likes this
-
fergusonicd890 likes this
-
diana2345d likes this
-
riveriastri likes this
-
adamtrepanier posted this