app/helpers/alchemy/custom/model/custom_model_helper.rb in alchemy-custom-model-2.0.0 vs app/helpers/alchemy/custom/model/custom_model_helper.rb in alchemy-custom-model-2.0.1
- old
+ new
@@ -1,8 +1,8 @@
module Alchemy::Custom::Model
module CustomModelHelper
- 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