lib/table_for/engine.rb in table-for-0.0.3 vs lib/table_for/engine.rb in table-for-0.0.4
- old
+ new
@@ -1,5 +1,12 @@
+require "table-for"
+require "rails"
+
module TableFor
class Engine < Rails::Engine
-
+ initializer "table_for.initialize_helpers" do
+ ActiveSupport.on_load(:action_view) do
+ include TableFor::HelperMethods
+ end
+ end
end
end