Displaying 1 result from an estimated 1 matches for "makes_controller".
Did you mean:
makecontroller
2006 Jan 11
15
How to use custom url formats?
...orcycles makes where the codes are "Honda", "Yamaha", "Suzuki", and
"Kawasaki", etc. To show the info about Honda I want to use this url:
http://www.mysite.com/makes/honda/
instead of:
http://www.mysite.com/makes/show/1/
I have a controller called makes_controller.rb, a model called make.rb,
and a layout called makes.rhtml. What would I need to modify? And if
you don''t mind, could you be specific about where the changes go since
I''m new to rails.
Mucho thanks in advance.
--
Posted via http://www.ruby-forum.com/.