projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24b4538
)
Skip authorization checks for the errors controller
author
Andy Allan
<git@gravitystorm.co.uk>
Wed, 16 Jan 2019 10:44:55 +0000
(11:44 +0100)
committer
Andy Allan
<git@gravitystorm.co.uk>
Wed, 16 Jan 2019 10:44:55 +0000
(11:44 +0100)
app/controllers/errors_controller.rb
patch
|
blob
|
history
diff --git
a/app/controllers/errors_controller.rb
b/app/controllers/errors_controller.rb
index 465194ef93c461d8ec10be70dff917e4ba335818..3bc958615b5a982e570f74af35f0662d3e81872f 100644
(file)
--- 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