Sha256: 917213689533f1a537f29962e3d40979c4e3e101c4d30c57144c1ac2248b37f8

Contents?: true

Size: 365 Bytes

Versions: 11

Compression:

Stored size: 365 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 :after_filter, AutoIncludeFilter
    end

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
intercom-rails-0.2.8 lib/intercom-rails/railtie.rb
intercom-rails-0.2.7 lib/intercom-rails/railtie.rb
intercom-rails-0.2.6 lib/intercom-rails/railtie.rb
intercom-rails-0.2.5 lib/intercom-rails/railtie.rb
intercom-rails-0.2.4 lib/intercom-rails/railtie.rb
intercom-rails-0.2.3 lib/intercom-rails/railtie.rb
intercom-rails-0.2.2 lib/intercom-rails/railtie.rb
intercom-rails-0.2.1 lib/intercom-rails/railtie.rb
intercom-rails-0.2.0 lib/intercom-rails/railtie.rb
intercom-rails-0.1.1 lib/intercom-rails/railtie.rb
intercom-rails-0.1.0 lib/intercom-rails/railtie.rb