X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/0189bce49697f3396b2572de98b75d6eaae6ccf1..117b8d1a6ba88251354ca7e31e9c514c3de0daec:/app/controllers/application_controller.rb diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index e36c9842b..66ab92a5c 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -47,7 +47,7 @@ class ApplicationController < ActionController::Base redirect_to params.merge(:cookie_test => "true") return false else - @notice = t 'application.require_cookies.cookies_needed' + flash.now[:warning] = t 'application.require_cookies.cookies_needed' end end end