Sha256: bbc8dd1531032631cab51902c520e0fcc024ed2aee57d1261210966ec18a1469

Contents?: true

Size: 320 Bytes

Versions: 8

Compression:

Stored size: 320 Bytes

Contents

module SimpleCalendar
  class Railtie < Rails::Railtie
    initializer "simple_calendar.view_helpers" do
      ActionView::Base.send :include, ViewHelpers
    end
    initializer "simple_calendar.model_additions" do
      ActiveSupport.on_load :active_record do
        extend ModelAdditions
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
simple_calendar-0.0.8 lib/simple_calendar/railtie.rb
simple_calendar-0.0.7 lib/simple_calendar/railtie.rb
simple_calendar-0.0.6 lib/simple_calendar/railtie.rb
simple_calendar-0.0.5 lib/simple_calendar/railtie.rb
simple_calendar-0.0.4 lib/simple_calendar/railtie.rb
simple_calendar-0.0.3 lib/simple_calendar/railtie.rb
simple_calendar-0.0.2 lib/simple_calendar/railtie.rb
simple_calendar-0.0.1 lib/simple_calendar/railtie.rb