Yet another Rails routing question

Posted by danhere on Stack Overflow See other posts from Stack Overflow or by danhere
Published on 2010-04-20T04:25:53Z Indexed on 2010/04/20 4:33 UTC
Read the original article Hit count: 279

Filed under:
|
|

I can't seem to grasp the Rails routing just yet. I want to be able to link the site to, for example, ...com/store/xbox360/Mass Effect 2 (which is /store(my controller)/:system/:title).

I have the database entries that include the :system and :title variables (?). How would I route these to show up and filter these entries? Or is this something I need to set up in the controller? I'm lost. Thanks so much for your help.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about routing