From: Andy Allan Date: Wed, 16 Jan 2019 10:44:55 +0000 (+0100) Subject: Skip authorization checks for the errors controller X-Git-Tag: live~2709^2~2 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/fc6209dc07886e2662887333724007e7fbf36636 Skip authorization checks for the errors controller --- diff --git a/app/controllers/errors_controller.rb b/app/controllers/errors_controller.rb index 465194ef9..3bc958615 100644 --- a/app/controllers/errors_controller.rb +++ b/app/controllers/errors_controller.rb @@ -1,6 +1,8 @@ class ErrorsController < ApplicationController layout "error" + skip_authorization_check + def forbidden render :status => :forbidden end