Sha256: 1521879991fda74b803be30e08ef8d8beb909434919ef14c1e387dc46c1803d5

Contents?: true

Size: 567 Bytes

Versions: 3

Compression:

Stored size: 567 Bytes

Contents

# BootstrapDatepicker
require "app/helpers/datepicker_helper.rb"
require "app/helpers/form_helper.rb"
require "engine.rb"

module BootstrapDatepicker
  class Railtie < Rails::Railtie
    initializer "BootstrapDatepicker" do
      ActionController::Base.helper(BootstrapDatepicker::DatepickerHelper)
      ActionView::Helpers::FormHelper.send(:include, BootstrapDatepicker::FormHelper)
      ActionView::Base.send(:include, BootstrapDatepicker::DatepickerHelper)
      ActionView::Helpers::FormBuilder.send(:include,BootstrapDatepicker::FormBuilder)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bootstrap_datepicker-0.7 lib/bootstrap_datepicker.rb
bootstrap_datepicker-0.6 lib/bootstrap_datepicker.rb
bootstrap_datepicker-0.5 lib/bootstrap_datepicker.rb