From 547d218e6bb25fb2b2fa13cd86f08c3ac1e69b8b Mon Sep 17 00:00:00 2001 From: Douglas Barbosa Alexandre Date: Mon, 1 Aug 2016 18:44:33 -0300 Subject: Add endpoint to allow users to remove lists --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/routes.rb') diff --git a/config/routes.rb b/config/routes.rb index bcf457ca023..9a56e39010f 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -857,7 +857,7 @@ Rails.application.routes.draw do end resource :board, only: [:show] do - resources :lists, only: [:create, :update], controller: :board_lists + resources :lists, only: [:create, :update, :destroy], controller: :board_lists end resources :todos, only: [:create] -- cgit v1.2.1