summaryrefslogtreecommitdiff
path: root/config/routes/snippets.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes/snippets.rb')
-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