From bc916a7e58544c72516d36274e2709d9094a1f29 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Wed, 28 May 2014 16:16:14 -0700 Subject: we don't need the call to presence. that is my present, to you! --- actionpack/lib/action_dispatch/routing/mapper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_dispatch') 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 -- cgit v1.2.3