Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Routing with empty path_prefix should not add two / to the url

#1571

This route:

map.namespace 'api', :path_prefix => '' do |api| api.route 'inventory', :controller => "products", :action => 'inventory' end

Generates "//inventory" as path and it should generate "/inventory".

The submitted patch was tested on the 2.2-stable branch.

Reported by João Vitor Lacerda Guimarães · December 14th, 2008 @ 11:36 AM

State: duplicate
Milestone: 2.x
Assigned to: nobody
Importance: none