mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-08 07:43:49 -04:00
raise exceptions on unpermitted params in staging
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
Growstuff::Application.configure do
|
||||
# Settings specified here will take precedence over those in config/application.rb
|
||||
|
||||
config.action_controller.action_on_unpermitted_parameters = :raise
|
||||
|
||||
# Eager load code on boot. This eager loads most of Rails and
|
||||
# your application in memory, allowing both threaded web servers
|
||||
# and those relying on copy on write to perform better.
|
||||
|
||||
Reference in New Issue
Block a user