Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-06-27 08:27:45 +0300
committerStan Hu <stanhu@gmail.com>2019-06-27 08:27:45 +0300
commitfa54a486eb6d6a71b015fce72decf33b011a0b2d (patch)
tree84485ca83b12a7956697994ba181d93fe0d29eb0 /config/routes
parent54247af5a9991286dc19248178c3d038803b57b4 (diff)
parent0f6c42c5ce165dadf1976ae15a043b87ca533618 (diff)
Merge branch '53811-issue-boards-to-core-projects-backend-ce' into 'master'
Move Multiple Issue Boards for Projects to Core See merge request gitlab-org/gitlab-ce!29757
Diffstat (limited to 'config/routes')
-rw-r--r--config/routes/project.rb6
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+/ }