app/helpers/alchemy/custom/model/admin/base_helper.rb in alchemy-custom-model-2.0.0 vs app/helpers/alchemy/custom/model/admin/base_helper.rb in alchemy-custom-model-2.0.1
- old
+ new
@@ -1,7 +1,7 @@
module Alchemy::Custom::Model::Admin::BaseHelper
- def CustomModelHelper.included(mod)
+ def self.included(mod)
if ::Rails.application.config.action_controller.include_all_helpers!=false
raise "Devi definire in config/application.rb config.action_controller.include_all_helpers=false
in modo da far funzionare correttamente l'override degli helper come per i controller"
end
end
\ No newline at end of file