Commit 8c081178 authored by Steve Azzopardi's avatar Steve Azzopardi

Fix merge conflicts for ce-to-ee-2018-11-02

parent 2845fa5c
# frozen_string_literal: true # frozen_string_literal: true
module ProjectUnauthorized module ProjectUnauthorized
<<<<<<< HEAD
prepend EE::ProjectUnauthorized prepend EE::ProjectUnauthorized
=======
>>>>>>> upstream/master
extend ActiveSupport::Concern extend ActiveSupport::Concern
# EE would override this # EE would override this
......
# frozen_string_literal: true # frozen_string_literal: true
class Projects::ClustersController < Clusters::ClustersController class Projects::ClustersController < Clusters::ClustersController
<<<<<<< HEAD
prepend EE::Projects::ClustersController prepend EE::Projects::ClustersController
include ProjectUnauthorized include ProjectUnauthorized
...@@ -9,13 +8,6 @@ class Projects::ClustersController < Clusters::ClustersController ...@@ -9,13 +8,6 @@ class Projects::ClustersController < Clusters::ClustersController
prepend_before_action :project prepend_before_action :project
before_action :repository before_action :repository
=======
include ProjectUnauthorized
prepend_before_action :project
before_action :repository
>>>>>>> upstream/master
layout 'project' layout 'project'
private private
......
# frozen_string_literal: true # frozen_string_literal: true
module ClustersHelper module ClustersHelper
<<<<<<< HEAD
prepend EE::ClustersHelper prepend EE::ClustersHelper
=======
>>>>>>> upstream/master
# EE overrides this # EE overrides this
def has_multiple_clusters? def has_multiple_clusters?
false false
......
<<<<<<< HEAD:app/views/clusters/clusters/_integration_form.html.haml
= form_for @cluster, url: clusterable.cluster_path(@cluster), as: :cluster, html: { class: 'cluster_integration_form' } do |field|
=======
= form_for @cluster, url: clusterable.cluster_path(@cluster), as: :cluster do |field| = form_for @cluster, url: clusterable.cluster_path(@cluster), as: :cluster do |field|
>>>>>>> upstream/master:app/views/clusters/clusters/_integration_form.html.haml
= form_errors(@cluster) = form_errors(@cluster)
.form-group .form-group
%h5= s_('ClusterIntegration|Integration status') %h5= s_('ClusterIntegration|Integration status')
......
...@@ -99,12 +99,9 @@ Rails.application.routes.draw do ...@@ -99,12 +99,9 @@ Rails.application.routes.draw do
end end
member do member do
<<<<<<< HEAD
# EE specific # EE specific
get :metrics, format: :json get :metrics, format: :json
=======
>>>>>>> upstream/master
scope :applications do scope :applications do
post '/:application', to: 'clusters/applications#create', as: :install_applications post '/:application', to: 'clusters/applications#create', as: :install_applications
end end
......
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