Make group name a link at header

This commit is contained in:
Dmitriy Zaporozhets 2013-01-27 13:12:30 +02:00
parent 6b01196fb2
commit 070f49fdc5

View file

@ -55,7 +55,9 @@ module ProjectsHelper
def project_title project
if project.group
project.name_with_namespace
content_tag :span do
link_to(project.group.name, group_path(project.group)) + " / " + project.name
end
else
project.name
end