]> git.openstreetmap.org Git - rails.git/commitdiff
Skip authorization checks for the errors controller
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 16 Jan 2019 10:44:55 +0000 (11:44 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 16 Jan 2019 10:44:55 +0000 (11:44 +0100)
app/controllers/errors_controller.rb

index 465194ef93c461d8ec10be70dff917e4ba335818..3bc958615b5a982e570f74af35f0662d3e81872f 100644 (file)
@@ -1,6 +1,8 @@
 class ErrorsController < ApplicationController
   layout "error"
 
+  skip_authorization_check
+
   def forbidden
     render :status => :forbidden
   end