Skip to content
Snippets Groups Projects
Commit 125ee526 authored by Robert Speicher's avatar Robert Speicher
Browse files

Don't use hard-coded sign_in path

parent c84f1240
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -16,7 +16,7 @@ class SessionsController < Devise::SessionsController
 
# Prevent a 'you are already signed in' message directly after signing:
# we should never redirect to '/users/sign_in' after signing in successfully.
unless redirect_path == '/users/sign_in'
unless redirect_path == new_user_session_path
store_location_for(:redirect, redirect_path)
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment