Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Return redirect is needed

  • Loading branch information...
commit 398295b0bbafc7d678ae6159ed42eb604000f09f 1 parent 59d8d91
Gregory Brown practicingruby authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/controllers/application_controller.rb
2  app/controllers/application_controller.rb
View
@@ -12,7 +12,7 @@ def authenticate
def authenticate_user
unless current_user
- redirect_to current_authorization.authorization_link
+ return redirect_to(current_authorization.authorization_link)
end
redirect_to problems_sessions_path if current_user.account_disabled
Please sign in to comment.
Something went wrong with that request. Please try again.