Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-02-06 13:21:42 +0300
committerDouwe Maan <douwe@gitlab.com>2015-02-06 13:23:12 +0300
commit639c93b4f2bd492a214065b5fdc47da2f5d8614d (patch)
tree45204e566c7114668821ef920ba9989efe17b586 /config
parent0a9cab4ee65f2b42c56989698c401cab60d68b53 (diff)
Don't have Markdown preview fail for long content by using POST rather than GET.
See https://github.com/gitlabhq/gitlabhq/issues/8611.
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 f0abd876ecd..66faf5312b4 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -209,7 +209,7 @@ Gitlab::Application.routes.draw do
post :unarchive
post :upload_image
post :toggle_star
- get :markdown_preview
+ post :markdown_preview
get :autocomplete_sources
end