summaryrefslogtreecommitdiff
path: root/config/routes
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2017-04-26 12:36:25 +0000
committerSean McGivern <sean@mcgivern.me.uk>2017-04-26 12:36:25 +0000
commit8fbda3bf152b6b15f30754cbc68c7466e86b8ee9 (patch)
treeff32284427ba72a335f6e6057a79c4652c43bd43 /config/routes
parent8c68729964d709ef8c372e41614a742cea8b6633 (diff)
parent87327c5845a7feec92e546dc0da42282ac27de40 (diff)
downloadgitlab-ce-8fbda3bf152b6b15f30754cbc68c7466e86b8ee9.tar.gz
Merge branch '12910-personal-snippet-prep-2' into 'master'
Support preview_markdown action for personal_snippets See merge request !10810
Diffstat (limited to 'config/routes')
-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 ce0d1314292..56534f677be 100644
--- a/config/routes/snippets.rb
+++ b/config/routes/snippets.rb
@@ -3,6 +3,7 @@ resources :snippets, concerns: :awardable do
get 'raw'
get 'download'
post :mark_as_spam
+ post :preview_markdown
end
end