updated so tag listing works. find_by_title instead of id
This commit is contained in:
parent
dfd2cf079c
commit
7c48fa7a09
3 changed files with 4 additions and 4 deletions
|
@ -11,7 +11,7 @@ class Tag < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def to_param
|
||||
"#{id}-#{title.parameterize}"
|
||||
title.parameterize
|
||||
end
|
||||
|
||||
protected
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue