Sha256: 38c202b7ae6b711f209db2d4faf5fe7cdae38c473ec74fd78bc717452bb4e4d4
Contents?: true
Size: 435 Bytes
Versions: 11
Compression:
Stored size: 435 Bytes
Contents
require 'event_cal/calendar_helper' module EventCal module Rails class Engine < ::Rails::Engine initializer 'event_cal.setup_view_helpers' do |app| app.config.to_prepare do # after migrating to 3.2 a line below works # ActionController::Base.send(:helper, ::EventCal::CalendarHelper) ActionView::Base.send(:include, ::EventCal::CalendarHelper) end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems