I am using a namespaced controller as described here http://guides.rubyonrails.org/routing.html#controller-namespaces-and-routing
When using: map.with_options(:namespace => "admin") do |admin| admin.resources :photos, :videos end and then attempting to use the path/url helper new_photo_path it links to photos/new instead of admin/photos/new as expected. How can I acheive the expected behavior? -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.