From: Tom Hughes Date: Sun, 23 Sep 2007 16:54:48 +0000 (+0000) Subject: Avoid warning. X-Git-Tag: live~8089 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/56500280d4dfa645ef7cc8699a7802912893b6fc?ds=sidebyside Avoid warning. --- diff --git a/app/helpers/trace_helper.rb b/app/helpers/trace_helper.rb index 1611b79ad..a0c3f56c9 100644 --- a/app/helpers/trace_helper.rb +++ b/app/helpers/trace_helper.rb @@ -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