Noob question re: partials

Hi there, I have been searching these discussions for a while trying
to find an answer to this question. I am learning rails and have been
analyzing basecamp a bit more trying to figure out how they did
different things. One thing that I noticed was that the URL, once you
are inside of a project, always has the project and id in the url.
So, I click MY Project, and the URL goes to this:


now when i click the to do’s tab, the URL goes to this:


What I am wondering is what controller action is being routed to here?
Is it the Projects/view action and then that action renders partials
based on what comes after the project ID? Or is it something else?

Its kind of late an I hope this makes sense.


It’s RESTful routing, and by the looks of things they have a
handling that.

Read my guide to gain a better understanding of restful routing:

On Tue, May 20, 2008 at 11:36 AM, validkeys
[email protected]

now when i click the to do’s tab, the URL goes to this:

Appreciated my help?
Recommend me on Working With Rails

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs