Sha256: 2278f2748a72c16ec86d7054d97d6b16574d9cf574a22cac337e0638f33fbf11

Contents?: true

Size: 609 Bytes

Versions: 31

Compression:

Stored size: 609 Bytes

Contents

require 'padrino-core'
require 'haml'
require 'pact_broker/services'

module PactBroker
  module UI
    module Controllers
      class Clusters < Padrino::Application

        set :root, File.join(File.dirname(__FILE__), '..')

        class Cluster

          def initialize pacticipants, relationships

          end

        end

        get "/" do
          view_model = ViewDomain::IndexItems.new(pacticipant_service.find_index_items, base_url: base_url)
          haml 'clusters/show', locals: { relationships: view_model, base_url: base_url }, escape_html: true
        end

      end
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
pact_broker-2.65.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.64.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.63.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.62.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.61.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.60.1 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.60.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.59.2 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.59.1 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.59.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.58.3 lib/pact_broker/ui/controllers/clusters.rb