diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-08-03 16:57:24 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-08-17 18:58:58 +0300 |
commit | 2c00d5928c69744138c9a411c533ff3a098f2804 (patch) | |
tree | bc70fc86e9f2f77350267522084cb608da0e4ef0 /config/routes.rb | |
parent | 1fa7274c48a5741d1526a68f872380520e683827 (diff) |
Move endpoint to list issues under lists resources
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index 75bd8a7fa1e..244f0d49ab9 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -857,8 +857,11 @@ Rails.application.routes.draw do end resource :board, only: [:show] do - resources :issues, only: [:index, :update], controller: :board_issues - resources :lists, only: [:create, :update, :destroy], controller: :board_lists + resources :issues, only: [:update], controller: :board_issues + + resources :lists, only: [:create, :update, :destroy], controller: :board_lists do + resources :issues, only: [:index], controller: :board_issues + end end resources :todos, only: [:create] |