Sha256: b125bdc869e914fb7b215408c4b3b76d09fdcebfd564c1c6e64d16aacd5421ac

Contents?: true

Size: 500 Bytes

Versions: 38

Compression:

Stored size: 500 Bytes

Contents

require 'pact_broker/ui/controllers/base_controller'
require 'pact_broker/ui/view_models/relationships'
require 'haml'

module PactBroker
  module UI
    module Controllers
      class Relationships < Base

        include PactBroker::Services

        get "/" do
          view_model = ViewDomain::Relationships.new(pacticipant_service.find_relationships)

          haml :'relationships/show', {locals: {relationships: view_model}}, {layout: 'layouts/main'}
        end

      end
    end
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
pact_broker-2.0.3 lib/pact_broker/ui/controllers/relationships.rb
pact_broker-2.0.2 lib/pact_broker/ui/controllers/relationships.rb
pact_broker-2.0.1 lib/pact_broker/ui/controllers/relationships.rb
pact_broker-2.0.0 lib/pact_broker/ui/controllers/relationships.rb
pact_broker-2.0.0.beta.8 lib/pact_broker/ui/controllers/relationships.rb
pact_broker-2.0.0.beta.7 lib/pact_broker/ui/controllers/relationships.rb
pact_broker-2.0.0.beta.6 lib/pact_broker/ui/controllers/relationships.rb
pact_broker-1.18.0 lib/pact_broker/ui/controllers/relationships.rb
pact_broker-2.0.0.beta.5 lib/pact_broker/ui/controllers/relationships.rb
pact_broker-1.18.0.beta.1 lib/pact_broker/ui/controllers/relationships.rb
pact_broker-1.17.2 lib/pact_broker/ui/controllers/relationships.rb
pact_broker-1.17.1 lib/pact_broker/ui/controllers/relationships.rb
pact_broker-2.0.0.beta.4 lib/pact_broker/ui/controllers/relationships.rb
pact_broker-2.0.0.beta.3 lib/pact_broker/ui/controllers/relationships.rb
pact_broker-2.0.0.beta.2 lib/pact_broker/ui/controllers/relationships.rb
pact_broker-2.0.0.beta.1 lib/pact_broker/ui/controllers/relationships.rb
pact_broker-1.17.0 lib/pact_broker/ui/controllers/relationships.rb
pact_broker-1.16.0 lib/pact_broker/ui/controllers/relationships.rb
pact_broker-1.15.0 lib/pact_broker/ui/controllers/relationships.rb
pact_broker-1.14.0 lib/pact_broker/ui/controllers/relationships.rb