]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/application_controller.rb
Fix rubocop Rails/TimeZone warnings
[rails.git] / app / controllers / application_controller.rb
index 07b23ce21c814561c8266cff403a46874bb4cbb8..bb32e7e6e5cbbe25da6787efc37dce39266e8c8d 100644 (file)
@@ -349,7 +349,7 @@ class ApplicationController < ActionController::Base
     elsif current_user
       set_locale
       respond_to do |format|
-        format.html { redirect_to :controller => "errors", :action => "forbidden" }
+        format.html { redirect_to :controller => "/errors", :action => "forbidden" }
         format.any { report_error t("application.permission_denied"), :forbidden }
       end
     elsif request.get?