diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-08-08 17:12:50 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-08-08 17:12:50 -0700 |
commit | 5a18b853ed9b04cf7d610390fab7de13cc23108e (patch) | |
tree | a314252e6c11bd827ea8ed47b7cced3c113a5201 /activemodel/lib/active_model/locale | |
parent | 1b73d53a1c45933017dd10d2edc506a4982c4c0d (diff) | |
download | rails-5a18b853ed9b04cf7d610390fab7de13cc23108e.tar.gz rails-5a18b853ed9b04cf7d610390fab7de13cc23108e.tar.bz2 rails-5a18b853ed9b04cf7d610390fab7de13cc23108e.zip |
remove useless conditional
`prepare_params!` would raise an exception if `params` wasn't
initialized, so it must always be available. Remove the existence
conditional from the `controller` method.
Diffstat (limited to 'activemodel/lib/active_model/locale')
0 files changed, 0 insertions, 0 deletions