]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/application_controller.rb
Send the language string to nominatim.
[rails.git] / app / controllers / application_controller.rb
index e36c9842ba6c55eea2e652d453b60d16732bc86e..66ab92a5cf379fa374d986a99261c72f170ee5d1 100644 (file)
@@ -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