summaryrefslogtreecommitdiff
path: root/app/views/explore
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2016-12-07 16:03:00 -0600
committerMike Greiling <mike@pixelcog.com>2016-12-10 00:57:23 -0600
commitb65d3e1132762b9e1a39ce908b3b481f92d9a10c (patch)
tree5f3f31610fb07ee3b5a692a0afae167a0803c8c3 /app/views/explore
parent6b20ad3646694ae90e8375f92cb5df13e2fd9fad (diff)
downloadgitlab-ce-b65d3e1132762b9e1a39ce908b3b481f92d9a10c.tar.gz
move new snippet button to main snippet navigation block
Diffstat (limited to 'app/views/explore')
-rw-r--r--app/views/explore/snippets/index.html.haml8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/views/explore/snippets/index.html.haml b/app/views/explore/snippets/index.html.haml
index 7def9eacdc9..9b5ea13ca29 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'