XIAOCHONG
Wednesday, 21 August 2013
Custom URL in Rails
Custom URL in Rails
Say my default route in rails is
/states/new-york/cities/new-york-city
What's the best way to customize this route to display as
/new-york/new-york-city
Thanks in advance, any tips/advice is much appreciated
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment