Class: Admin::FileUploadComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Admin::FileUploadComponent
- Defined in:
- lib/generators/infold/templates/install/app/components/admin/file_upload_component.rb
Instance Method Summary collapse
-
#initialize(form, field) ⇒ FileUploadComponent
constructor
A new instance of FileUploadComponent.
Constructor Details
#initialize(form, field) ⇒ FileUploadComponent
Returns a new instance of FileUploadComponent.
5 6 7 8 |
# File 'lib/generators/infold/templates/install/app/components/admin/file_upload_component.rb', line 5 def initialize(form, field) @form = form @field = field end |