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:
authorFelipe Artur <felipefac@gmail.com>2017-08-29 00:56:49 +0300
committerFelipe Artur <felipefac@gmail.com>2017-08-29 00:56:49 +0300
commitf2a43ff5b7eec188ffc470649bf40d268cbdce2a (patch)
treef9a59f5d83d883c482c9ebfe811580a0fc8f6be6 /config/routes.rb
parent5f88660a3f5d9f0de0109a3da46e81ea9024c677 (diff)
Group boards CE backport
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 4fd6cb5d439..5d7166cad9a 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -73,6 +73,19 @@ Rails.application.routes.draw do
# Notification settings
resources :notification_settings, only: [:create, :update]
+ # Boards resources shared between group and projects
+ resources :boards do
+ resources :lists, module: :boards, only: [:index, :create, :update, :destroy] do
+ collection do
+ post :generate
+ end
+
+ resources :issues, only: [:index, :create, :update]
+ end
+
+ resources :issues, module: :boards, only: [:index, :update]
+ end
+
draw :import
draw :uploads
draw :explore