Re: RESTful URL quesiton

Tyler MacDonald
Wed, 04 Apr 2007 00:54:48 -0000

Lee <urbansprawl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
>
> Maybe design this differently?
>
> map.resources :records do |record|
>   record.resources :names
>   record.resources :monkeys
> end

  What I want is to have the "names" and "monkeys"
controllers in
app/controllers/records; eg app/controllers/records/name.rb with somethin
like:

  class Records::NameController < RecordsController

  etc..

  But yes, most of these things will probably be resources. :)

	Thanks,
		Tyler