X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/407b61857ea19172b403347469381d814f7e1cb2..dd8b1fa5a0e9a3bd505533b2ef182aa28f6ca05d:/app/controllers/application_controller.rb?ds=sidebyside diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 07b23ce21..bb32e7e6e 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -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?