Currently my routes.rb looks like this.
map.resources :cities do |cities|
cities.resources :venues, :collection => {:transfer => :any}
end
Now I have a need to declare something like
map.resources :cities, :collection => {:manage => :get}
But since I have a nested resource for cities I am not sure what the
syntax is to declare a collection on cities?
Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---