Sha256: 72c6b5dd0066ac60ddf59562b706f1c7d5fa616ab8f2a485acb1f52496d21b54

Contents?: true

Size: 235 Bytes

Versions: 6

Compression:

Stored size: 235 Bytes

Contents

require 'intercom-rails/script_tag_helper'

module IntercomRails
  class Railtie < Rails::Railtie
    initializer "intercom_on_rails.script_tag_helper.rb" do |app|
      ActionView::Base.send :include, ScriptTagHelper
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
intercom-rails-0.0.6 lib/intercom-rails/railtie.rb
intercom-rails-0.0.5 lib/intercom-rails/railtie.rb
intercom-rails-0.0.4 lib/intercom-rails/railtie.rb
intercom-rails-0.0.3 lib/intercom-rails/railtie.rb
intercom-rails-0.0.2 lib/intercom-rails/railtie.rb
intercom-rails-0.0.1 lib/intercom-rails/railtie.rb