Merge remote-tracking branch 'upstream/pull/3279'
This commit is contained in:
commit
08e2a06e41
2 changed files with 7 additions and 1 deletions
|
@ -30,7 +30,7 @@ class UsersController < ApplicationController
|
|||
# Already agreed to terms, so just show settings
|
||||
redirect_to :action => :account, :display_name => current_user.display_name
|
||||
elsif current_user.nil? && session[:new_user].nil?
|
||||
redirect_to :action => :login, :referer => request.fullpath
|
||||
redirect_to login_path(:referer => request.fullpath)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue