Sha256: 19b1b5f575512c6795abf424993c9824b8e732d2109436309c3bc4bfc6cbbfb3
Contents?: true
Size: 609 Bytes
Versions: 44
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
44 entries across 44 versions & 1 rubygems