diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-02-03 23:01:04 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-02-06 14:30:07 -0500 |
commit | 89b3ddd609063d93f39a02279f0f3e23b8b6b364 (patch) | |
tree | 4f36de052a6bbcfed2b884c860363037663601e7 /config | |
parent | 26f3cc41fc41f2901cc560aaecf1fe49cadda7ca (diff) | |
download | gitlab-ce-89b3ddd609063d93f39a02279f0f3e23b8b6b364.tar.gz |
Allow limited Markdown in Broadcast Messagesrs-broadcast-markdown
Closes #11853
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 034bfaf1bcd..f5951bf3e8d 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -227,7 +227,10 @@ Rails.application.routes.draw do get :test end - resources :broadcast_messages, only: [:index, :edit, :create, :update, :destroy] + resources :broadcast_messages, only: [:index, :edit, :create, :update, :destroy] do + post :preview, on: :collection + end + resource :logs, only: [:show] resource :background_jobs, controller: 'background_jobs', only: [:show] |