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
diff options
context:
space:
mode:
authorVitaliy @blackst0ne Klachkov <blackst0ne.ru@gmail.com>2017-10-11 12:03:19 +0300
committerVitaliy @blackst0ne Klachkov <blackst0ne.ru@gmail.com>2017-10-11 12:03:19 +0300
commit64bb19069dba585c6e4622073e5140f052c2661a (patch)
tree385fd2ef99886de4cde4e4bbc2bd94204f81cd61 /config/routes
parent2a9147b747ded82e0970c3f8235e9d9e27bd0ab4 (diff)
Add support for markdown preview to group milestones
Diffstat (limited to 'config/routes')
-rw-r--r--config/routes/group.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/routes/group.rb b/config/routes/group.rb
index 23052a6c6dc..8cc30bfcc50 100644
--- a/config/routes/group.rb
+++ b/config/routes/group.rb
@@ -1,6 +1,8 @@
require 'constraints/group_url_constrainer'
-resources :groups, only: [:index, :new, :create]
+resources :groups, only: [:index, :new, :create] do
+ post :preview_markdown
+end
scope(path: 'groups/*group_id',
module: :groups,