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.79.1 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.79.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.78.1 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.78.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.77.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.76.2 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.76.1 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.76.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.75.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.74.1 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.74.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.73.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.72.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.71.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.70.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.69.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.68.1 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.68.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.67.0 lib/pact_broker/ui/controllers/clusters.rb
pact_broker-2.66.0 lib/pact_broker/ui/controllers/clusters.rb