Sha256: 46066a2c39e19b69773403a85922cce4ab0824b4403e96c6016d26655f1242ae

Contents?: true

Size: 433 Bytes

Versions: 20

Compression:

Stored size: 433 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::Method
      ActionController::Base.after_filter :intercom_rails_auto_include
    end

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

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
intercom-rails-0.2.30 lib/intercom-rails/railtie.rb
intercom-rails-0.2.29 lib/intercom-rails/railtie.rb
intercom-rails-0.2.28 lib/intercom-rails/railtie.rb
intercom-rails-0.2.27 lib/intercom-rails/railtie.rb
intercom-rails-0.2.26 lib/intercom-rails/railtie.rb
intercom-rails-0.2.25 lib/intercom-rails/railtie.rb
intercom-rails-0.2.24 lib/intercom-rails/railtie.rb
intercom-rails-0.2.23 lib/intercom-rails/railtie.rb
intercom-rails-0.2.22 lib/intercom-rails/railtie.rb
intercom-rails-0.2.21 lib/intercom-rails/railtie.rb
intercom-rails-0.2.20 lib/intercom-rails/railtie.rb
intercom-rails-0.2.19 lib/intercom-rails/railtie.rb
intercom-rails-0.2.18 lib/intercom-rails/railtie.rb
intercom-rails-0.2.17 lib/intercom-rails/railtie.rb
intercom-rails-0.2.16 lib/intercom-rails/railtie.rb
intercom-rails-0.2.15 lib/intercom-rails/railtie.rb
intercom-rails-0.2.14 lib/intercom-rails/railtie.rb
intercom-rails-0.2.13 lib/intercom-rails/railtie.rb
intercom-rails-0.2.12 lib/intercom-rails/railtie.rb
intercom-rails-0.2.11 lib/intercom-rails/railtie.rb