search for: child_

Displaying 1 result from an estimated 1 matches for "child_".

Did you mean: child
2006 Aug 14
1
Rest, routes, path_prefix and default params
...troller::Routing::Routes.draw do |map| map.resources :departments, :path_prefix => ''mycompany'',:company_id => 1 map.resources :companies do |companies| companies.resources :departments do |departments| departments.resources :departments, :name_prefix => ''child_'' end end # Install the default route as the lowest priority. map.home '''', :controller => ''companies'',:action => ''index'' map.connect '':controller/:action/:id'', :id => nil, :action => ''index...