summaryrefslogtreecommitdiff
path: root/app/views/explore/snippets/index.html.haml
diff options
context:
space:
mode:
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 }