Rails 3 better routing
Out of curiosity. In the docs of rails3 they say that as rule of thumb, I shouldn't nest more than one le开发者_如何学Govel of resources. Is there any better way to do that then?
  scope "(:locale)", :locale => /pl/ do
    resources :users  
    namespace "admin" do
      resources :universities do
        resources :faculties
      end
    end
  end 
Why? You're not nesting more than one level of resources :-)
 
         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论