I compared the output from ``rake routes'' for each solution below, and they both produce the exact same routes. Is one solution preferred over the over?
# Solution #1: map.resource :account do |account| account.resources :properties, :controller => 'account/properties' account.resources :photos, :controller => 'account/photos' end
# Solution #2: map.resource :account map.namespace :account do |account| account.resources :photos account.resources :properties end
Cheers, Nick