Commit 64d78a9a240b0bb8d93433d580438a2eb307f623

category-as-sentence links to the right controller

Commit diff

app/helpers/application_helper.rb

 
88
99 def linked_tag_list_as_sentence(tags)
1010 tags.map do |tag|
11 link_to(h(tag.name), { :action => :category, :id => tag.name })
11 link_to(h(tag.name), { :controller => "projects", :action => "category", :id => tag.name })
1212 end.to_sentence
1313 end
1414
toggle raw diff