Sha256: adfb0b0623972c7c854634fb45770ad3ee1926c1fe4c3e7d2291b8049f41f383
Contents?: true
Size: 742 Bytes
Versions: 6
Compression:
Stored size: 742 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: "#{base_url}/groups/#{params[:name]}.csv", pacticipant_name: params[:name], repository_url: pacticipant&.repository_url, base_url: base_url } }, { layout: 'layouts/main' } end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems