summaryrefslogtreecommitdiff
path: root/app/views/layouts/nav/_project.html.haml
diff options
context:
space:
mode:
authorVinnie Okada <vokada@mrvinn.com>2015-02-19 21:07:54 -0700
committerVinnie Okada <vokada@mrvinn.com>2015-02-19 21:25:28 -0700
commit83e2a1ca12372279cf7948b4d4b3e8a11c50e428 (patch)
treec7d956af810c8dea7a1312efcfd1df0bebe1cdcf /app/views/layouts/nav/_project.html.haml
parent9e9ce95d62ec4feb76c3ec238dd3189c781f40ce (diff)
downloadgitlab-ce-83e2a1ca12372279cf7948b4d4b3e8a11c50e428.tar.gz
Update path helper references
Use the path helpers for nested project resources, for Rails 4.1.9 compatibility.
Diffstat (limited to 'app/views/layouts/nav/_project.html.haml')
-rw-r--r--app/views/layouts/nav/_project.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/layouts/nav/_project.html.haml b/app/views/layouts/nav/_project.html.haml
index 67e2721bb4a..4d859e817ac 100644
--- a/app/views/layouts/nav/_project.html.haml
+++ b/app/views/layouts/nav/_project.html.haml
@@ -50,7 +50,7 @@
Graphs
= nav_link(controller: :milestones) do
- = link_to project_milestones_path(@project), title: 'Milestones' do
+ = link_to namespace_project_milestones_path(@project.namespace, @project), title: 'Milestones' do
%i.fa.fa-clock-o
%span
Milestones
@@ -73,7 +73,7 @@
%span.count.merge_counter= @project.merge_requests.opened.count
= nav_link(controller: :labels) do
- = link_to project_labels_path(@project), title: 'Labels' do
+ = link_to namespace_project_labels_path(@project.namespace, @project), title: 'Labels' do
%i.fa.fa-tags
%span
Labels