#request_uri is deprecated.

This commit is contained in:
chris2tof committed 2011-05-02 13:28:38 +08:00
1 parent 43d87ecf98
commit 2e632f1596
1 file changed
+1 -1
+1 -1
View File
@@ -24,7 +24,7 @@ module ApplicationHelper
# Remove the locale but keep all the other params
def get_go_back
begin
if request.request_uri.include?('locale=')
if request.url.include?('locale=')
session[:last_page]
else
target = request.referer.split('?')