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.

Routes don't assign correctly root path in namespace

#6389

rails 3.0.3

  resources :foo do
    namespace :bar do
      root :to => "index#index"
    end
  end

That code create following routes

                             foo_root        /foo/:foo_id/bar(.:format)                                                    {:controller=>"bar/index", :action=>"index"}

I expected

foo_bar_root

Reported by lewy313 · February 8th, 2011 @ 11:56 AM

State: resolved
Milestone: none
Assigned to: nobody
Importance: none