aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/journey/route.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-08-08 16:12:00 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-08-08 16:12:00 -0700
commit175e92c9ac674536ad6c54937b54ef2e77217f08 (patch)
treecf2df2385e612eb55c7b4193f611edeec2ab00b0 /actionpack/lib/action_dispatch/journey/route.rb
parent246bfcb473dad7a33a8459f5bef9c62f18ed1f1d (diff)
downloadrails-175e92c9ac674536ad6c54937b54ef2e77217f08.tar.gz
rails-175e92c9ac674536ad6c54937b54ef2e77217f08.tar.bz2
rails-175e92c9ac674536ad6c54937b54ef2e77217f08.zip
eliminate runtime conditional
We know in advance whether the object is a dispatcher or not, so we can configure the Constraints object with a strategy that will call the right method.
Diffstat (limited to 'actionpack/lib/action_dispatch/journey/route.rb')
0 files changed, 0 insertions, 0 deletions