Sha256: 99e472ff4da22a94033b652ea1f98a1ed097379389e45649f34d4554e38a9ad9

Contents?: true

Size: 425 Bytes

Versions: 1

Compression:

Stored size: 425 Bytes

Contents

module IntercomRails
  class Railtie < Rails::Railtie
    initializer "intercom-rails" do |app|
      ActionView::Base.send :include, ScriptTagHelper
      ActionController::Base.send :include, CustomDataHelper
      ActionController::Base.send :include, AutoInclude
      ActionController::Base.after_filter :intercom_rails_auto_include
    end

    rake_tasks do
      load 'intercom-rails/intercom.rake'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
intercom-rails-0.2.10 lib/intercom-rails/railtie.rb