mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-04 11:54:30 -04:00
raise exceptions on unpermitted params in staging
This commit is contained in:
1 parent
a67a55c599
commit
2f05f1dbdb
1 file changed
+2
@@ -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