Permalink
Browse files

we don't need the call to presence. that is my present, to you!

  • Loading branch information...
1 parent 3c03e7e commit bc916a7e58544c72516d36274e2709d9094a1f29 @tenderlove tenderlove committed May 28, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_dispatch/routing/mapper.rb
@@ -256,7 +256,7 @@ def default_controller_and_action
if controller =~ %r{\A/}
controller = controller[1..-1]
else
- controller = [@scope[:module], controller].compact.join("/").presence
+ controller = [@scope[:module], controller].compact.join("/")
end
end

0 comments on commit bc916a7

Please sign in to comment.