Skip authorization checks for the errors controller

This commit is contained in:
Andy Allan 2019-01-16 11:44:55 +01:00
parent 24b4538f8f
commit fc6209dc07

View file

@ -1,6 +1,8 @@
class ErrorsController < ApplicationController
layout "error"
skip_authorization_check
def forbidden
render :status => :forbidden
end