raise exceptions on unpermitted params in staging

This commit is contained in:
Taylor Griffin
2015-01-23 13:22:52 +11:00
parent a67a55c599
commit 2f05f1dbdb

View File

@@ -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.