diff options
author | Aleksei Kvitinskii <aleksei.wm@gmail.com> | 2011-11-07 13:40:22 +0200 |
---|---|---|
committer | Aleksei Kvitinskii <aleksei.wm@gmail.com> | 2011-11-07 13:40:22 +0200 |
commit | 060a2e225755aedc99a8cdbc5fae8296daa7a958 (patch) | |
tree | 8099c4bbc2fc58434a9fdec87bdf9e5bd6a47958 /app/helpers/tags_helper.rb | |
parent | ac9afe0d14fed7532fa243ff418e8fb52f938507 (diff) | |
download | gitlab-ce-060a2e225755aedc99a8cdbc5fae8296daa7a958.tar.gz |
move tag path to the appropriate helper
Diffstat (limited to 'app/helpers/tags_helper.rb')
-rw-r--r-- | app/helpers/tags_helper.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/helpers/tags_helper.rb b/app/helpers/tags_helper.rb new file mode 100644 index 00000000000..1e82e34d8c7 --- /dev/null +++ b/app/helpers/tags_helper.rb @@ -0,0 +1,5 @@ +module TagsHelper + def tag_path tag + "/tags/#{tag}" + end +end |