diff options
author | Alexandru Croitor <acroitor@gitlab.com> | 2019-06-17 15:58:48 +0300 |
---|---|---|
committer | Alexandru Croitor <acroitor@gitlab.com> | 2019-06-26 12:28:00 +0300 |
commit | 0f6c42c5ce165dadf1976ae15a043b87ca533618 (patch) | |
tree | 9220ed5a8eb628ca3c5170a0d5f9400870538797 /config | |
parent | 2b9ddc2f99bc0a49967c9ccc5b79ccc53e7559b4 (diff) |
Move Multiple Issue Boards for Projects to Core
Refactor code to allow multiple issue boards management for projects
in CE
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/project.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb index 0e8e089c78a..4d38fd09889 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -155,7 +155,11 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do end end - resources :boards, only: [:index, :show], constraints: { id: /\d+/ } + resources :boards, only: [:index, :show, :create, :update, :destroy], constraints: { id: /\d+/ } do + collection do + get :recent + end + end resources :releases, only: [:index] resources :forks, only: [:index, :new, :create] resources :group_links, only: [:index, :create, :update, :destroy], constraints: { id: /\d+/ } |