Avoid warning.

This commit is contained in:
Tom Hughes 2007-09-23 16:54:48 +00:00
parent cb71c6d57f
commit 56500280d4

View file

@ -1,9 +1,9 @@
module TraceHelper
def link_to_tag(tag)
if @action == "mine"
return link_to tag, :tag => tag
return link_to(tag, :tag => tag)
else
return link_to tag, :tag => tag, :display_name => @display_name
return link_to(tag, :tag => tag, :display_name => @display_name)
end
end
end