Fix url reference

This commit is contained in:
David Heinemeier Hansson
2024-10-19 19:07:48 -07:00
parent b7efd04a43
commit b53a2b8880
+1 -1
View File
@@ -10,7 +10,7 @@ class SessionsController < ApplicationController
def create
if user = User.active.authenticate_by(params.permit(:email_address, :password))
start_new_session_for user
redirect_to after_authentication_path
redirect_to after_authentication_url
else
redirect_to new_session_path, alert: "Try another email address or password."
end