lib/rails_script/railtie.rb in rails_script-0.3.2 vs lib/rails_script/railtie.rb in rails_script-0.4.0
- old
+ new
@@ -5,7 +5,12 @@
end
initializer 'rails_Script.loader_helper' do
ActionView::Base.send :include, LoaderHelper
end
+
+ initializer 'rails_script.to_javascript' do
+ ActionController::Base.send :include, ToJavascript
+ end
+
end
end
\ No newline at end of file