Sha256: 250bc92f1ad1c200c4e239375a19e4edfd3cdbd5c757ae568d51a5c36976bfb4

Contents?: true

Size: 371 Bytes

Versions: 1

Compression:

Stored size: 371 Bytes

Contents

module Thunderer
  class Railtie < Rails::Railtie
    initializer 'thunderer.controller' do
      ActiveSupport.on_load(:action_controller) do
        include Thunderer::ControllerAdditions
      end
    end

    initializer 'thunderer.active_record' do
      ActiveSupport.on_load(:active_record) do
        include Thunderer::PublishChanges
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
thunderer-0.9.0 lib/thunderer/railtie.rb