http://weblog.jamisbuck.org/2007/2/5/nesting-resources
On 8 fév, 15:30, "codeconvert"
<makin...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> I have a question concerning routes.
>
> I want to be able to display a url like so...
>
> http://www.example.com/category/tag/page
>
> Of course each of those have their own model and would display the
> name field of each of those.
>
> Basically categories have tags, tags have pages. All pages belong to a
> category and has many tags.
>
> How would I even begin to set this up in routes?
--~--~---------~--~----~------------~-------~--~----~
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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---