summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-08-08 16:49:09 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-08-17 12:58:59 -0300
commit6113767045971abd3a279705f481c8e712660c88 (patch)
treed06f0974c2d5f42bcba0e765a02287693108215d /config
parent68cfdba7018172d502d4b98aad02e86d22a6a401 (diff)
downloadgitlab-ce-6113767045971abd3a279705f481c8e712660c88.tar.gz
Add an endpoint to generate the default lists for a board
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 244f0d49ab9..3b17ed612bf 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -860,6 +860,10 @@ Rails.application.routes.draw do
resources :issues, only: [:update], controller: :board_issues
resources :lists, only: [:create, :update, :destroy], controller: :board_lists do
+ collection do
+ post :generate
+ end
+
resources :issues, only: [:index], controller: :board_issues
end
end