diff --git a/tracks/app/helpers/todos_helper.rb b/tracks/app/helpers/todos_helper.rb index e3562bb6..03011397 100644 --- a/tracks/app/helpers/todos_helper.rb +++ b/tracks/app/helpers/todos_helper.rb @@ -72,7 +72,8 @@ module TodosHelper end def tag_list - tag_list = @todo.tags.reject{|t| t.name == Todo::STARRED_TAG_NAME}.collect{|t| "" + link_to(t.name, :action => "tag", :id => t.name) + ""}.join('') + tags_except_starred = @todo.tags.reject{|t| t.name == Todo::STARRED_TAG_NAME} + tag_list = tags_except_starred.collect{|t| "" + link_to(t.name, :action => "tag", :id => t.name) + ""}.join('') "#{tag_list}" end