diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-05-28 16:16:14 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-05-28 16:16:14 -0700 |
commit | bc916a7e58544c72516d36274e2709d9094a1f29 (patch) | |
tree | 60c6340f931d3b35b35519ae742cff2ccfe43515 /actionpack/lib/action_dispatch | |
parent | 3c03e7e2ab65a154bf82cbe697a9bddbecc20897 (diff) | |
download | rails-bc916a7e58544c72516d36274e2709d9094a1f29.tar.gz rails-bc916a7e58544c72516d36274e2709d9094a1f29.tar.bz2 rails-bc916a7e58544c72516d36274e2709d9094a1f29.zip |
we don't need the call to presence. that is my present, to you!
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/mapper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb index 227ceec90f..80c3b867bc 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -256,7 +256,7 @@ module ActionDispatch if controller =~ %r{\A/} controller = controller[1..-1] else - controller = [@scope[:module], controller].compact.join("/").presence + controller = [@scope[:module], controller].compact.join("/") end end |