My user blog contains the user's blog entries, so IT IS plural in semantics. It's just that I don't want the URL to be /user/123/blog_entries but /user/123/blog instead. Unfortunately, "blog" is singular.
Erik P.S. Thanks for recommending to read the documentation. I've found the documentation as such to be a very useful thing indeed. :) On 24/07/07, Mislav Marohnić <[EMAIL PROTECTED]> wrote: > On 7/24/07, Erik Allik <[EMAIL PROTECTED]> wrote: > > > > 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. > > Maybe you wanted "user.resource" (singular) instead of "user.resources"? > Read the API documentation to know the difference. > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
