Sha256: ea2bcb5d565b8eabcff5059628175d5c9d2093cdcec180f9aaa3a6dcc80fedd6
Contents?: true
Size: 358 Bytes
Versions: 5
Compression:
Stored size: 358 Bytes
Contents
module GovukAppConfig class Railtie < Rails::Railtie initializer('govuk_app_config') do |app| GovukXRay.initialize(app) if Rails.env.production? end config.before_initialize do GovukLogging.configure if Rails.env.production? end config.after_initialize do GovukXRay.start if Rails.env.production? end end end
Version data entries
5 entries across 5 versions & 1 rubygems