I have the following routing layout: map.resources :users do |user| user.resources :blog, :controller => :user_blog_controller, :name_prefix => 'user_' end
The trouble is that I cannot user blog_path() without an argument. blogs_path() does not work either and it would be ugly/inconsistent if it did anyway. Couldn't blog_path with no arguments just return /blog and not try to return /blog/SOME_ID? I could just do user.resources :blog_entries, but it doesn't give as nice URLs. Besides, I have the same problem with user.resources :mailbox. Erik --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" 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-core?hl=en -~----------~----~----~----~------~----~------~--~---
