title: Help with Rails routes
body: <p>Say if I have a controller, profile, which has just two actions. The first one is <code>list</code>, which will just show the list of names. I want these names to be links which will then take you to a page that shows the full profile. So I need a second action, <code>view</code>, which can then bed fed a parameter to indicate which profile to view. </p>
  
  <p>For example: I would access <code>/profile/list</code>, then if I want to view John's profile, I will click on his name which should take me to <code>/profile/view/john</code>. My view action will read the john parameter and then make the appropriate database queries. </p>
  
  <p>What changes do I have to make to routes.rb for this to happen? Cheers.</p>