diff options
author | Vinnie Okada <vokada@mrvinn.com> | 2015-02-19 21:07:54 -0700 |
---|---|---|
committer | Vinnie Okada <vokada@mrvinn.com> | 2015-02-19 21:25:28 -0700 |
commit | 83e2a1ca12372279cf7948b4d4b3e8a11c50e428 (patch) | |
tree | c7d956af810c8dea7a1312efcfd1df0bebe1cdcf /app/views/snippets | |
parent | 9e9ce95d62ec4feb76c3ec238dd3189c781f40ce (diff) | |
download | gitlab-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/snippets')
-rw-r--r-- | app/views/snippets/_snippet.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/snippets/_snippet.html.haml b/app/views/snippets/_snippet.html.haml index c584dd8dfb6..5bb28664349 100644 --- a/app/views/snippets/_snippet.html.haml +++ b/app/views/snippets/_snippet.html.haml @@ -11,7 +11,7 @@ %small.pull-right.cgray - if snippet.project_id? - = link_to snippet.project.name_with_namespace, project_path(snippet.project) + = link_to snippet.project.name_with_namespace, namespace_project_path(snippet.project.namespace, snippet.project) .snippet-info = "##{snippet.id}" |