summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorVinnie Okada <vokada@mrvinn.com>2014-10-16 22:45:13 -0500
committerVinnie Okada <vokada@mrvinn.com>2014-10-16 22:45:13 -0500
commitcd3eabd71236d2be1430d2dbf23aad91d73aa783 (patch)
tree3810b80ab0d0520cf433ef1dccc1afdd7e04411d /config
parent5700842ba8ca2f3100395a9fb98c759e78e63d96 (diff)
downloadgitlab-ce-cd3eabd71236d2be1430d2dbf23aad91d73aa783.tar.gz
Use GET instead of POST for Markdown previews
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 5dbb238ba6b..3edc78cee33 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -186,7 +186,7 @@ Gitlab::Application.routes.draw do
post :unarchive
post :upload_image
post :toggle_star
- post :markdown_preview
+ get :markdown_preview
get :autocomplete_sources
get :import
put :retry_import