From ed9943d0130f4a581156afcf038f2b51fd9cea9f Mon Sep 17 00:00:00 2001 From: Douglas Barbosa Alexandre Date: Mon, 1 Aug 2016 16:23:16 -0300 Subject: Add endpoint to allow users to create a new board list --- config/routes.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'config/routes.rb') 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] -- cgit v1.2.1