We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a76a514 commit 4a22841Copy full SHA for 4a22841
1 file changed
app/controllers/errors_controller.rb
@@ -1,5 +1,6 @@
1
-# Provides web actions that represent errors. Rails' standard error pages are static HTML with inline CSS; by using
2
-# a custom error controller we get all the layouts and CSS.
+# Provides web actions that represent errors. Rails' standard error pages are static HTML with inline CSS;
+# by using a custom error controller we get all the layouts and CSS, as well as error reporting.
3
+# Note that it requires +consider_all_requests_local+ to be +false+ (see environment config files for details)
4
class ErrorsController < ApplicationController
5
protect_from_forgery with: :exception, except: [:error], store: :cookie
6
0 commit comments