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:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-08-08 22:49:09 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-08-17 18:58:59 +0300
commit6113767045971abd3a279705f481c8e712660c88 (patch)
treed06f0974c2d5f42bcba0e765a02287693108215d /config/routes.rb
parent68cfdba7018172d502d4b98aad02e86d22a6a401 (diff)
Add an endpoint to generate the default lists for a board
Diffstat (limited to 'config/routes.rb')
-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