diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-08-08 22:49:09 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-08-17 18:58:59 +0300 |
commit | 6113767045971abd3a279705f481c8e712660c88 (patch) | |
tree | d06f0974c2d5f42bcba0e765a02287693108215d /config/routes.rb | |
parent | 68cfdba7018172d502d4b98aad02e86d22a6a401 (diff) |
Add an endpoint to generate the default lists for a board
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 4 |
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 |