slight syntax issue with 1.9

This commit is contained in:
Stefan Richter 2011-10-09 20:30:26 +02:00
parent f49276a982
commit 1b33a2733a

View file

@ -123,7 +123,7 @@ module TodosHelper
end
def tag_span (tag, mobile=false)
content_tag(:span, :class => "tag #{tag.name.gsub(' ','-')}") { link_to (tag.name, mobile ? mobile_tag_path(tag.name) : tag_path(tag.name)) }
content_tag(:span, :class => "tag #{tag.name.gsub(' ','-')}") { link_to(tag.name, (mobile ? mobile_tag_path(tag.name) : tag_path(tag.name))) }
end
def tag_list(todo=@todo, mobile=false)