From 8fce3cbbacd00b0919198d77a313cf2bdb3e0c85 Mon Sep 17 00:00:00 2001 From: Benjamin ter Kuile Date: Tue, 1 Feb 2022 10:01:36 -0500 Subject: [PATCH] Do not automatically extend helper methods --- lib/dunlop/engine.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/dunlop/engine.rb b/lib/dunlop/engine.rb index 7725342..e1aa535 100644 --- a/lib/dunlop/engine.rb +++ b/lib/dunlop/engine.rb @@ -42,15 +42,6 @@ module Dunlop end end - #initializer "dunlop.add_helpers" do - config.after_initialize do - #TODO this generates noise and pollutes API based implementations (Like Panda) - #ActiveSupport.on_load :action_controller do - # helper ::Dunlop::ApplicationHelper if respond_to?(:helper) - #end - ::ApplicationHelper.send :include, ::Dunlop::ApplicationHelper - end - # add migrations to containing application initializer 'dunlop.append_migrations' do |app| unless app.root.to_s.match root.to_s