aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-08-08 16:39:16 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-08-08 16:39:16 -0700
commit1b73d53a1c45933017dd10d2edc506a4982c4c0d (patch)
tree9fe59e46b658cd615bdc7ec3fb1e08630b26d1ad /actionpack/lib/action_dispatch/routing/polymorphic_routes.rb
parentdc1b937db780155089fce522f03d340e62f5df36 (diff)
downloadrails-1b73d53a1c45933017dd10d2edc506a4982c4c0d.tar.gz
rails-1b73d53a1c45933017dd10d2edc506a4982c4c0d.tar.bz2
rails-1b73d53a1c45933017dd10d2edc506a4982c4c0d.zip
eliminate assignment in conditional
The method we called already has the conditional we need. Just add an else block so that we don't need two tests.
Diffstat (limited to 'actionpack/lib/action_dispatch/routing/polymorphic_routes.rb')
0 files changed, 0 insertions, 0 deletions