del the back_url to let the different identity change has a correct url

This commit is contained in:
xianbo 2013-10-30 08:51:58 +08:00
parent 1f09bfbab1
commit 1f419c936d
1 changed files with 3 additions and 1 deletions

View File

@ -1090,7 +1090,9 @@ module ApplicationHelper
end
def back_url_hidden_field_tag
url = back_url
#add by xianbo
url = nil
#leave the url remain
hidden_field_tag('back_url', url, :id => nil) unless url.blank?
end