On Nov 24, 3:54 pm, Freddy Andersen <[EMAIL PROTECTED]> wrote: > I guess you have the answer in your question... You don't need the > controller part so it would look like this: > > map.resource :account do |account| > account.resources :properties > account.resources :photos > end
Hi Freddy. Leaving out the :controller part results in the properties and photos nested resources using their non-namespaced controllers: http://rafb.net/p/lODGyE45.html --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

