Sha256: f02c66bae44739b17e5b4e57bd73fa4994cfb294054fcfac7d41849a1260c4ca
Contents?: true
Size: 679 Bytes
Versions: 4
Compression:
Stored size: 679 Bytes
Contents
require "calendrier/version" require "calendrier/calendrier_builder" 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
calendrier-0.9.4 | lib/calendrier.rb |
calendrier-0.9.3 | lib/calendrier.rb |
calendrier-0.9.1 | lib/calendrier.rb |
calendrier-0.9.0 | lib/calendrier.rb |