Override #to_s on Tag for simplified joining

This commit is contained in:
Katrina Owen 2013-02-18 18:48:22 -07:00
parent 01b7f78f3c
commit 0b733b6183
3 changed files with 11 additions and 2 deletions

View file

@ -127,7 +127,7 @@ module TodosHelper
end
def tag_list_text(todo=@todo)
todo.tags.collect{|t| t.name}.join(', ')
todo.tags.join(', ')
end
def tag_span (tag, mobile=false)