summaryrefslogtreecommitdiff
path: root/app/views/snippets
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-04-30 12:15:20 -0500
committerDouwe Maan <douwe@selenight.nl>2017-04-30 17:52:49 -0500
commit2b3fc5e624bd0c8b9e1c68bf2b3741d8898cf0b0 (patch)
treed29cab907f6c68f2703bc56043e345948bfc578f /app/views/snippets
parent54040ce0662c71cfaee3cc12305b5ab021beafbb (diff)
downloadgitlab-ce-2b3fc5e624bd0c8b9e1c68bf2b3741d8898cf0b0.tar.gz
Add download button to project snippetsdm-snippet-download-button
Diffstat (limited to 'app/views/snippets')
-rw-r--r--app/views/snippets/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/snippets/show.html.haml b/app/views/snippets/show.html.haml
index 8a80013bbfd..ad07985951c 100644
--- a/app/views/snippets/show.html.haml
+++ b/app/views/snippets/show.html.haml
@@ -3,7 +3,7 @@
= render 'shared/snippets/header'
%article.file-holder.snippet-file-content
- = render 'shared/snippets/blob', download_path: download_snippet_path(@snippet)
+ = render 'shared/snippets/blob'
.row-content-block.top-block.content-component-block
= render 'award_emoji/awards_block', awardable: @snippet, inline: true