Forum: Ruby on Rails Simple Routes Question

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Nicktabs (Guest)
on 2008-10-28 19:52
(Received via mailing list)
I currently have list of different articles (in this case health
articles) at the moment their show URL format is:

http://localhost:3000/conditions/1

but I would like a more descriptive URL than this, so I would like it
to read:

http://localhost:3000/conditions/cancer

This is the title of the article which is currnetly stored in a row in
the database. I'm new to all this so thought i'd ask for some
pointers :)

Thanks.
Pilaf (Guest)
on 2008-10-28 20:02
(Received via mailing list)
This topic is locked and can not be replied to.