diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-08-01 22:23:16 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-08-17 18:58:58 +0300 |
commit | ed9943d0130f4a581156afcf038f2b51fd9cea9f (patch) | |
tree | 752a531108dcc88595a0870382772d5f972348a7 /config/routes.rb | |
parent | e1998844781b92d118f25cb8f8c0cbd293a25708 (diff) |
Add endpoint to allow users to create a new board list
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 4 |
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] |