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.
3b6b65232c459bfb8ebadb91927b1e9f?d=identicon&s=25 Nicktabs (Guest)
on 2008-10-28 18: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.
1eaf88725aac486f742ae64a8abe0f6c?d=identicon&s=25 Pilaf (Guest)
on 2008-10-28 19:02
(Received via mailing list)
This topic is locked and can not be replied to.