I am trying to follow answer to question
How to get link_to in Rails output an SEO friendly url?
but don't get the result. In my Rails 3 app I have:
# routes.rb
match '/articles/:id/:title' => 'articles#show'
resources :articles
# articles/index.html.haml
- @articles.each do |article|
= link_to article.title, article, :title => article.title
However, after restarting the server, the links don't have the title: /articles/1, /articles/2
What is wrong?