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-01 22:23:16 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-08-17 18:58:58 +0300
commited9943d0130f4a581156afcf038f2b51fd9cea9f (patch)
tree752a531108dcc88595a0870382772d5f972348a7 /config/routes.rb
parente1998844781b92d118f25cb8f8c0cbd293a25708 (diff)
Add endpoint to allow users to create a new board list
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 8e39993493c..1495b130b6e 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -856,7 +856,9 @@ Rails.application.routes.draw do
end
end
- resource :board, only: [:show]
+ resource :board, only: [:show] do
+ resources :lists, only: [:create], controller: :board_lists
+ end
resources :todos, only: [:create]