updated so tag listing works. find_by_title instead of id

This commit is contained in:
Espen Antonsen 2010-08-07 13:30:53 +02:00
parent dfd2cf079c
commit 7c48fa7a09
3 changed files with 4 additions and 4 deletions

View file

@ -11,7 +11,7 @@ class Tag < ActiveRecord::Base
end
def to_param
"#{id}-#{title.parameterize}"
title.parameterize
end
protected