diff options
author | Vitaliy @blackst0ne Klachkov <blackst0ne.ru@gmail.com> | 2017-10-11 20:03:19 +1100 |
---|---|---|
committer | Vitaliy @blackst0ne Klachkov <blackst0ne.ru@gmail.com> | 2017-10-11 20:03:19 +1100 |
commit | 64bb19069dba585c6e4622073e5140f052c2661a (patch) | |
tree | 385fd2ef99886de4cde4e4bbc2bd94204f81cd61 /config/routes | |
parent | 2a9147b747ded82e0970c3f8235e9d9e27bd0ab4 (diff) | |
download | gitlab-ce-64bb19069dba585c6e4622073e5140f052c2661a.tar.gz |
Add support for markdown preview to group milestonesmove_markdown_preview_to_concern
Diffstat (limited to 'config/routes')
-rw-r--r-- | config/routes/group.rb | 4 |
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, |