diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 6b10d9421..49d108220 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -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('?')