Sha256: 26b2056aea189704357f31a7894c5364e46b0c43f56d953154d6022a64555777
Contents?: true
Size: 922 Bytes
Versions: 18
Compression:
Stored size: 922 Bytes
Contents
module RailsOps # @private class Railtie < Rails::Railtie initializer 'rails_ops' do |_app| # --------------------------------------------------------------- # Load hookup config eagerly at application startup unless # in development mode. # --------------------------------------------------------------- unless Rails.env.development? RailsOps.hookup.load_config end # --------------------------------------------------------------- # Attach log subscriber to rails. # --------------------------------------------------------------- RailsOps::LogSubscriber.attach_to :rails_ops # --------------------------------------------------------------- # Include controller mixin # --------------------------------------------------------------- ActionController::Base.send :include, RailsOps::ControllerMixin end end end
Version data entries
18 entries across 18 versions & 1 rubygems