X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/49a4efcfa0da3f54fda6aa8fa98beffa31e1c91f..08a0fc90e371c20b3f78d25dc81440d7eb505a19:/app/controllers/application_controller.rb diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 3830df88b..90a967276 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -73,7 +73,7 @@ class ApplicationController < ActionController::Base if request.cookies["_osm_session"].to_s == "" if params[:cookie_test].nil? session[:cookie_test] = true - redirect_to params.merge(:cookie_test => "true") + redirect_to Hash[params].merge(:cookie_test => "true") return false else flash.now[:warning] = t 'application.require_cookies.cookies_needed'