Sha256: 6b4cea5f42a6e5992272f076e030994bd9acdf78439ee782c1253ae920b0b3e4
Contents?: true
Size: 553 Bytes
Versions: 56
Compression:
Stored size: 553 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::Relationships.new(pacticipant_service.find_relationships) haml 'clusters/show', locals: {relationships: view_model} end end end end end
Version data entries
56 entries across 56 versions & 1 rubygems