Displaying 1 result from an estimated 1 matches for "slus".
Did you mean:
plus
2010 May 13
1
Routing - newbie question about shorting the url
Hi
Right now I have my url showing as the following:
http://localhost/categories/italian/recipes/special-pasta-sauce
I would like it to be:
http://localhost/categories/italian/special-pasta-sauce
(or even http://localhost/italian/special-pasta-sauce)
my category model has_many :recipes and my recipes model
belongs_to :category (for the purposes of my test project a recipe
can only belong to one