lib/effective_regions/engine.rb in effective_regions-1.4.8 vs lib/effective_regions/engine.rb in effective_regions-1.4.9
- old
+ new
@@ -6,9 +6,10 @@
# Include Helpers to base application
initializer 'effective_regions.action_controller' do |app|
ActiveSupport.on_load :action_controller do
helper EffectiveRegionsHelper
+ ActionController::Base.send :include, ::EffectiveRegionsControllerHelper
end
end
# Include acts_as_addressable concern and allow any ActiveRecord object to call it
initializer 'effective_regions.active_record' do |app|