rails/init.rb in view_models-1.5.5 vs rails/init.rb in view_models-1.5.6
- old
+ new
@@ -1,5 +1,7 @@
+# require 'experimental/modules_in_render_hierarchy'
+
require 'extensions/active_record'
require 'extensions/model_reader'
require 'view_models'
require 'view_models/render_options'
@@ -10,9 +12,7 @@
require 'helpers/view'
require 'helpers/rails'
require 'helpers/collection'
-#
-# ActionController::Base.send :helper, ViewModels::Helpers::Rails
ActionController::Base.send :include, ViewModels::Helpers::Rails
ActionView::Base.send :include, ViewModels::Helpers::Rails
\ No newline at end of file