Merge branch 'issue-184' into dev

Conflicts:
	app/views/layouts/project.html.haml
	app/views/projects/_form.html.haml
This commit is contained in:
Aleksei Kvitinskii 2011-11-08 23:19:42 +02:00
commit 1d85197b08
9 changed files with 81 additions and 39 deletions

View file

@ -0,0 +1,15 @@
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