Sha256: d7c4353e282184cda5908c373daa438374d2eba5488d8d77858646ae3f141f94

Contents?: true

Size: 426 Bytes

Versions: 1

Compression:

Stored size: 426 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.9 lib/intercom-rails/railtie.rb