Commit a593e467 authored by Mario de la Ossa's avatar Mario de la Ossa

Resolve conflicts in config/routes/group.rb

parent 75ed6921
...@@ -58,7 +58,6 @@ constraints(::Constraints::GroupUrlConstrainer.new) do ...@@ -58,7 +58,6 @@ constraints(::Constraints::GroupUrlConstrainer.new) do
end end
end end
<<<<<<< HEAD
## EE-specific ## EE-specific
resource :analytics, only: [:show] resource :analytics, only: [:show]
resource :ldap, only: [] do resource :ldap, only: [] do
...@@ -109,6 +108,13 @@ constraints(::Constraints::GroupUrlConstrainer.new) do ...@@ -109,6 +108,13 @@ constraints(::Constraints::GroupUrlConstrainer.new) do
# On CE only index and show are needed # On CE only index and show are needed
resources :boards, only: [:index, :show, :create, :update, :destroy] resources :boards, only: [:index, :show, :create, :update, :destroy]
resources :runners, only: [:index, :edit, :update, :destroy, :show] do
member do
post :resume
post :pause
end
end
legacy_ee_group_boards_redirect = redirect do |params, request| legacy_ee_group_boards_redirect = redirect do |params, request|
path = "/groups/#{params[:group_id]}/-/boards" path = "/groups/#{params[:group_id]}/-/boards"
path << "/#{params[:extra_params]}" if params[:extra_params].present? path << "/#{params[:extra_params]}" if params[:extra_params].present?
...@@ -119,17 +125,6 @@ constraints(::Constraints::GroupUrlConstrainer.new) do ...@@ -119,17 +125,6 @@ constraints(::Constraints::GroupUrlConstrainer.new) do
## EE-specific ## EE-specific
resource :roadmap, only: [:show], controller: 'roadmap' resource :roadmap, only: [:show], controller: 'roadmap'
=======
# On CE only index and show actions are needed
resources :boards, only: [:index, :show]
resources :runners, only: [:index, :edit, :update, :destroy, :show] do
member do
post :resume
post :pause
end
end
>>>>>>> upstream/master
end end
scope(path: '*id', scope(path: '*id',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment