Sha256: 0dd840917847c3a58eaa690ff499b7f7bd9c2677dabe7f3e0b4837cdaf846408
Contents?: true
Size: 514 Bytes
Versions: 29
Compression:
Stored size: 514 Bytes
Contents
require 'padrino-core' require 'haml' require 'pact_broker/services' module PactBroker module UI module Controllers class Base < Padrino::Application set :root, File.join(File.dirname(__FILE__), '..') set :show_exceptions, ENV['RACK_ENV'] != 'production' set :dump_errors, false # The padrino logger logs these for us. If this is enabled we get duplicate logging. def base_url PactBroker.configuration.base_url || '' end end end end end
Version data entries
29 entries across 29 versions & 1 rubygems