]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/application_controller.rb
Update to rails 4.1.6
[rails.git] / app / controllers / application_controller.rb
index 3830df88bf40fb9b117af17b2d1d27804f821be8..90a9672760755a6ee060e8540cb6fc71ea041d5d 100644 (file)
@@ -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'