OSDN Git Service

Fix the link to the project branches
authorJohannes Schleifenbaum <johannes@js-webcoding.de>
Thu, 15 Aug 2013 12:02:39 +0000 (14:02 +0200)
committerJohannes Schleifenbaum <johannes@js-webcoding.de>
Thu, 15 Aug 2013 12:02:39 +0000 (14:02 +0200)
app/views/projects/show.html.haml

index 3f764e9..1efea5d 100644 (file)
@@ -36,7 +36,7 @@
       %p
         = link_to pluralize(@repository.round_commit_count, 'commit'), project_commits_path(@project, @ref || @repository.root_ref)
       %p
-        = link_to pluralize(@repository.branch_names.count, 'branch'), project_repository_path(@project)
+        = link_to pluralize(@repository.branch_names.count, 'branch'), project_branches_path(@project)
       %p
         = link_to pluralize(@repository.tag_names.count, 'tag'), project_tags_path(@project)