Sha256: 52da2bc2daf817cc3c2edc23eeecc82dc66db362e1aec4c6a5bd896caa33180f

Contents?: true

Size: 318 Bytes

Versions: 1

Compression:

Stored size: 318 Bytes

Contents

require 'kaltura_box'
require 'kaltura_box/view_helpers'
require 'rails'

module KalturaBox
  class Railtie < Rails::Railtie
    initializer 'install kaltura_box' do
      $: << File.dirname(__FILE__) + '/../lib'

      ActionView::Base.send :include, KalturaBox::ViewHelpers
      require "kaltura"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kaltura_box-0.0.3 lib/kaltura_box/railtie.rb