diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-02-06 13:21:42 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-02-06 13:23:12 +0300 |
commit | 639c93b4f2bd492a214065b5fdc47da2f5d8614d (patch) | |
tree | 45204e566c7114668821ef920ba9989efe17b586 /config | |
parent | 0a9cab4ee65f2b42c56989698c401cab60d68b53 (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.rb | 2 |
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 |