You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: guides/source/configuring.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1948,16 +1948,25 @@ information. It defaults to `true`.
1948
1948
1949
1949
#### `config.action_dispatch.rescue_responses`
1950
1950
1951
-
Configures what exceptions are assigned to an HTTP status. It accepts a hash and you can specify pairs of exception/status.By default, this is defined as:
1951
+
Configures what exceptions are assigned to an HTTP status. It accepts a hash and you can specify pairs of exception/status.
1952
1952
1953
1953
```ruby
1954
-
config.action_dispatch.rescue_responses = {
1954
+
# It's good to use #[]= or #merge! to respect the default values
0 commit comments