lib/action_view/component.rb in actionview-component-1.13.0 vs lib/action_view/component.rb in actionview-component-1.14.0
- old
+ new
@@ -1,24 +1,4 @@
# frozen_string_literal: true
require "active_model"
-require "action_view"
-require "active_support/dependencies/autoload"
-require "action_view/component/engine"
-
-module ActionView
- module Component
- extend ActiveSupport::Autoload
-
- autoload :Base
- autoload :Conversion
- autoload :Preview
- autoload :Previewable
- autoload :TestHelpers
- autoload :TestCase
- autoload :RenderMonkeyPatch
- autoload :RenderingMonkeyPatch
- autoload :TemplateError
- end
-end
-
-ActiveModel::Conversion.include ActionView::Component::Conversion
+require "view_component"