Skip authorization checks for the errors controller
This commit is contained in:
parent
24b4538f8f
commit
fc6209dc07
1 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
|||
class ErrorsController < ApplicationController
|
||||
layout "error"
|
||||
|
||||
skip_authorization_check
|
||||
|
||||
def forbidden
|
||||
render :status => :forbidden
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue