aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_pack.rb
diff options
context:
space:
mode:
authorAlberto Almagro <alberto.almagro@rakuten.com>2017-08-03 22:20:52 +0200
committerAlberto Almagro <alberto.almagro@rakuten.com>2017-08-14 23:56:13 +0200
commit7fade3dcbcfc1f5ba6c455c04f04040f077e0d70 (patch)
treec96468d7917bcf00c578af678c6f43f3037f5ab0 /actionpack/lib/action_pack.rb
parent10bf93ef92a70ae511036134290bf0e2de184b5c (diff)
downloadrails-7fade3dcbcfc1f5ba6c455c04f04040f077e0d70.tar.gz
rails-7fade3dcbcfc1f5ba6c455c04f04040f077e0d70.tar.bz2
rails-7fade3dcbcfc1f5ba6c455c04f04040f077e0d70.zip
Load Parameters configurations on :action_controller only once
Fixes regression ActionController::UnpermittedParameters not raised. The inner hook was being executed twice, once when ActionController::Base was loaded and again when ActionController::API was loaded. As options.delete operations inside the block are not idempotent, the second time it was run there was no configuration option available
Diffstat (limited to 'actionpack/lib/action_pack.rb')
0 files changed, 0 insertions, 0 deletions