diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-09-26 02:07:40 +0400 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-10-03 11:18:46 +0400 |
commit | 2e9f5de86896e53e9cf34aef52bbc2ad08019a21 (patch) | |
tree | 48c469b4e8a9f4596f978a2602e4d3b5cfbece86 /app/helpers/tags_helper.rb | |
parent | a3d90c5045ae322a013484165cdebcd764dc5d69 (diff) |
Add parenthesis to function def with arguments.
Diffstat (limited to 'app/helpers/tags_helper.rb')
-rw-r--r-- | app/helpers/tags_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/tags_helper.rb b/app/helpers/tags_helper.rb index ebed6a83746..ef89bb32c6d 100644 --- a/app/helpers/tags_helper.rb +++ b/app/helpers/tags_helper.rb @@ -1,9 +1,9 @@ module TagsHelper - def tag_path tag + def tag_path(tag) "/tags/#{tag}" end - def tag_list project + def tag_list(project) html = '' project.tag_list.each do |tag| html += link_to tag, tag_path(tag) |