summaryrefslogtreecommitdiff
path: root/app/views/dashboard
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2016-12-09 10:54:13 -0600
committerMike Greiling <mike@pixelcog.com>2016-12-10 00:57:23 -0600
commit0608ecbc69c991efcf56f7872cf1b06416d4bd10 (patch)
tree1721385ad0e4df87e819692e152c069bf80ced5e /app/views/dashboard
parent7f3fc26ec98193fa0c3bfeb7b78c81176bb9c689 (diff)
downloadgitlab-ce-0608ecbc69c991efcf56f7872cf1b06416d4bd10.tar.gz
conditionally display assoc project info in snippets index
Diffstat (limited to 'app/views/dashboard')
-rw-r--r--app/views/dashboard/snippets/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/dashboard/snippets/index.html.haml b/app/views/dashboard/snippets/index.html.haml
index 13cba7ca224..81bfa44a665 100644
--- a/app/views/dashboard/snippets/index.html.haml
+++ b/app/views/dashboard/snippets/index.html.haml
@@ -33,4 +33,4 @@
= link_to new_snippet_path, class: "btn btn-new btn-block", title: "New snippet" do
New snippet
-= render 'snippets/snippets'
+= render partial: 'snippets/snippets', locals: { link_project: true }