diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/config/routes.rb b/config/routes.rb index 3b17ed612bf..b74d6fa4464 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -857,14 +857,16 @@ Rails.application.routes.draw do end resource :board, only: [:show] do - resources :issues, only: [:update], controller: :board_issues + scope module: :boards do + resources :issues, only: [:update] - resources :lists, only: [:create, :update, :destroy], controller: :board_lists do - collection do - post :generate - end + resources :lists, only: [:create, :update, :destroy] do + collection do + post :generate + end - resources :issues, only: [:index], controller: :board_issues + resources :issues, only: [:index] + end end end |