Sha256: 0dbced8eb26bf046a1ec64a1a6ec277d193082f965ce91d70922fb7d166ce1f8

Contents?: true

Size: 311 Bytes

Versions: 5

Compression:

Stored size: 311 Bytes

Contents

module Livefyre
  class Railtie < Rails::Railtie
    initializer "livefyre.initializer" do
      ActionController::Base.send :include, Livefyre::Controller
      ActionView::Base.send :include, Livefyre::Helpers
      ActiveRecord::Base.send :include, Livefyre::Model if defined?(ActiveRecord)
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
livefyre-mashable-0.2.0 railties/railtie.rb
livefyre-0.1.2 railties/railtie.rb
livefyre-0.1.1 railties/railtie.rb
livefyre-0.1.0 railties/railtie.rb
livefyre-0.0.1 railties/railtie.rb