Fix call for new session path
This commit is contained in:
parent
284d8881f9
commit
156caecb21
2 changed files with 2 additions and 2 deletions
|
@ -11,6 +11,6 @@ class ApplicationController < ActionController::Base
|
|||
private
|
||||
|
||||
def require_authorization
|
||||
redirect_to new_sessions_path unless authorized?
|
||||
redirect_to new_session_path unless authorized?
|
||||
end
|
||||
end
|
||||
|
|
|
@ -12,7 +12,7 @@ class SessionsController < ApplicationController
|
|||
end
|
||||
|
||||
if Rails.configuration.entrance_exam_token != params[:token]
|
||||
redirect_to new_sessions_path
|
||||
redirect_to new_session_path
|
||||
return
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue