On Aug 5, 2006, at 9:25 PM, Jamis Buck wrote:
David Heinemeier Hansson wrote:
if I want :controller => 'folder/controller', I can't use:
map.resource 'folder/controller'
Are nested controllers not considered 'RESTful practice' and
therefore not supported?
That's one of the last things on the todo list. They should work.
Someone who needs nested controllers, please make it work ;)
Actually, you *should* be able to do:
map.resources :whatever_the_resources_are, :controller => "folder/
controller"
That just overrides the guessing that rails does, and forces it to
use the given controller for the given resource.
- Jamis
Thanks Jamis... that's exactly what I was looking for.
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core