Tuesday, February 14, 2006

Ruby Rails - Cool Routes.rb tip

Just found this cool routes.rb tip for custom routes:

Technoblog: Rails Routes - :controller/:action/:id VS. :controller/:id/:action: "Which allows me to change URLs like:http://somesite.com/person/show/123Into:http://somesite.com/person/123And:http://somesite.com/person/edit/123Into:http://somesite.com/person/123/edit"

0 Comments:

Post a Comment

<< Home

eXTReMe Tracker