登录之后跳到个人主页

This commit is contained in:
lizanle 2015-08-29 15:07:47 +08:00
parent acbf58837a
commit 3a21c4e2fa
1 changed files with 1 additions and 1 deletions

View File

@ -557,7 +557,7 @@ class ApplicationController < ActionController::Base
end
def redirect_back_or_default(default, options={})
back_url = params[:back_url].to_s
back_url = '' #params[:back_url].to_s
if back_url.present?
begin
uri = URI.parse(back_url)