mirror of https://github.com/mastodon/mastodon.git
Raise exceptions on unpermitted parameters errors in test environment
parent
09dca8ba3d
commit
1557458e31
|
@ -21,6 +21,9 @@ Rails.application.configure do
|
||||||
|
|
||||||
config.assets_digest = false
|
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.
|
# Show full error reports and disable caching.
|
||||||
config.consider_all_requests_local = true
|
config.consider_all_requests_local = true
|
||||||
config.action_controller.perform_caching = false
|
config.action_controller.perform_caching = false
|
||||||
|
|
Loading…
Reference in New Issue