blob: d694b2c90ce66837148f44db473e1f5ba750fa2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
module Gitlab
module TagsHelper
def tag_path(tag)
"/tags/#{tag}"
end
def tag_list(project)
html = ''
project.tag_list.each do |tag|
html << link_to(tag, tag_path(tag))
end
html.html_safe
end
end
end
|