diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2016-02-01 22:11:52 +0100 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2016-02-01 22:11:52 +0100 |
commit | 5966b801ced62bdfcf1c8189bc068911db90ac13 (patch) | |
tree | d405f9744e60249f68c8da43144691a1f719ded5 /actionpack/test | |
parent | baae952588395a1bc04122b00a94baa5af8cdf35 (diff) | |
download | rails-5966b801ced62bdfcf1c8189bc068911db90ac13.tar.gz rails-5966b801ced62bdfcf1c8189bc068911db90ac13.tar.bz2 rails-5966b801ced62bdfcf1c8189bc068911db90ac13.zip |
Simplify filter normalization.
Assume the filter is a string, if it wasn't a hash and isn't nil. Remove needless else
and rely on Ruby's default nil return.
Add spaces within hash braces.
Diffstat (limited to 'actionpack/test')
0 files changed, 0 insertions, 0 deletions