summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJustin DiPierro <dipierroj@gmail.com>2016-10-06 12:42:17 -0400
committerJustin DiPierro <dipierroj@gmail.com>2016-10-11 15:36:59 -0400
commit32186b4ab89e751d42590d2cbfbcf0c6a131bdca (patch)
tree8f5aa498ce92995b1686bf3ad52c8bc47bf9082f /config
parent0e0984952b458a617cf1f95de8b8fb88ed014d6a (diff)
downloadgitlab-ce-32186b4ab89e751d42590d2cbfbcf0c6a131bdca.tar.gz
Added 'Download' button to snippet view
Diffstat (limited to 'config')
-rw-r--r--config/routes/snippets.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes/snippets.rb b/config/routes/snippets.rb
index 1949f215c66..3ca096f31ba 100644
--- a/config/routes/snippets.rb
+++ b/config/routes/snippets.rb
@@ -1,6 +1,7 @@
resources :snippets, concerns: :awardable do
member do
get 'raw'
+ get 'download'
end
end