summaryrefslogtreecommitdiff
path: root/app/views/explore/snippets/index.html.haml
diff options
context:
space:
mode:
authorRegis <boudinot.regis@yahoo.com>2016-12-13 13:03:49 -0700
committerRegis <boudinot.regis@yahoo.com>2016-12-13 13:03:49 -0700
commit77daed05ca877e9882096787b3d57244baaa5d91 (patch)
tree48e972448234b338dba2fce10eaee19f8e6027ec /app/views/explore/snippets/index.html.haml
parentd46af1d9b263916063200f5fd2cafa18df11c37b (diff)
parent632450a4bd95c7f67f9968e57b317dc4b4704f5f (diff)
downloadgitlab-ce-77daed05ca877e9882096787b3d57244baaa5d91.tar.gz
merge master
Diffstat (limited to 'app/views/explore/snippets/index.html.haml')
-rw-r--r--app/views/explore/snippets/index.html.haml10
1 files changed, 1 insertions, 9 deletions
diff --git a/app/views/explore/snippets/index.html.haml b/app/views/explore/snippets/index.html.haml
index 7def9eacdc9..e5706d04736 100644
--- a/app/views/explore/snippets/index.html.haml
+++ b/app/views/explore/snippets/index.html.haml
@@ -6,12 +6,4 @@
- else
= render 'explore/head'
-.row-content-block
- - if current_user
- = link_to new_snippet_path, class: "btn btn-new btn-wide-on-sm pull-right", title: "New snippet" do
- New snippet
-
- .oneline
- Public snippets created by you and other users are listed here
-
-= render 'snippets/snippets'
+= render partial: 'snippets/snippets', locals: { link_project: true }