WTTechLabs / taskboard

your on-line tool for task management fun
http://taskboard.cognifide.com
GNU General Public License v3.0
60 stars 16 forks source link

Access taskboard page using url with name instead of id #37

Open jakubprzybytek opened 15 years ago

jakubprzybytek commented 15 years ago

So, instead of: http://taskboard.cognifide.com/taskboard/show/37 it would be nice to get access to it using: http://taskboard.cognifide.com/taskboard/show/Iteration66

bartaz commented 15 years ago

That would be nice, but names are not unique, so we need to find a way around this first.

rakk commented 15 years ago

http://www.jroller.com/obie/entry/seo_optimization_of_urls_in

rakk commented 15 years ago

http://august.lilleaas.net/styling_rails_urls

class Post < ActiveRecord::Base def to_param "#{id}-#{title.parameterize}" end end