]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/errors_controller.rb
Fix link in error page when a user has public edits disabled
[rails.git] / 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