Results 1 to 4 of 4
Thread: [Rails] route problem
May 15, 2006, 09:06 #1
- Join Date
- Jun 2004
- 0 Post(s)
- 0 Thread(s)
[Rails] route problem
I'm stuck again with a route. Instead of using :controller/:action/:id like this
/hotel/show/2, I'd like to use a kind of pretty url like
/hotel/show/city-ref-id.rhtml or better html where city, ref and id are fields in the hotels table.
Is it possible to do it in a simple way?