Sha256: 21b8d4a53f8f68d742ca0cf0ec6426e77ab894567351dc47d882740b1d610b7a
Contents?: true
Size: 695 Bytes
Versions: 8
Compression:
Stored size: 695 Bytes
Contents
require 'pact_broker/ui/controllers/base_controller' require 'pact_broker/ui/view_models/index_items' require 'haml' module PactBroker module UI module Controllers class Groups < Base include PactBroker::Services get ":name" do pacticipant = pacticipant_service.find_pacticipant_by_name(params[:name]) erb :'groups/show.html', { locals: { csv_path: "/groups/#{params[:name]}.csv", pacticipant_name: params[:name], repository_url: pacticipant&.repository_url } }, { layout: 'layouts/main' } end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems