Sha256: a9a1ef8dd99d66139894ad006d11744236a41014382c57971db9b391d8a7ef33
Contents?: true
Size: 705 Bytes
Versions: 1
Compression:
Stored size: 705 Bytes
Contents
require "calendrier/version" require "calendrier/calendrier_builder" require "calendrier/item" require "calendrier/controllers/event_extension" require "calendrier/helpers/calendrier_helper" require "calendrier/helpers/event_helper" module Calendrier # including our calendar ActiveSupport.on_load(:action_view) do ::ActionView::Base.send :include, Calendrier::CalendrierHelper # this one is crapy ::ActionView::Base.send :include, Calendrier::EventHelper end # no automatic load # you need to include manually in the controllers where it is needed #ActiveSupport.on_load(:action_controller) do # ::ActionController::Base.send :include, Calendrier::EventExtension #end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
calendrier-0.9.5 | lib/calendrier.rb |