mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
Raise exceptions on unpermitted parameters errors in test environment
This commit is contained in:
parent
82344342c1
commit
46b6a1b1ce
1 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,9 @@ Rails.application.configure do
|
|||
|
||||
config.assets_digest = false
|
||||
|
||||
# Raise exceptions on unpermitted parameters errors
|
||||
config.action_controller.action_on_unpermitted_parameters = :raise
|
||||
|
||||
# Show full error reports and disable caching.
|
||||
config.consider_all_requests_local = true
|
||||
config.action_controller.perform_caching = false
|
||||
|
|
Loading…
Reference in a new issue