Class: Hyrax::BatchUploadsController::BatchUploadFormService
- Inherits:
-
Object
- Object
- Hyrax::BatchUploadsController::BatchUploadFormService
- Defined in:
- app/controllers/hyrax/batch_uploads_controller.rb
Overview
Gives the class of the form.
Class Method Summary collapse
Class Method Details
.build(resource, current_ability, *extra) ⇒ Object
9 10 11 |
# File 'app/controllers/hyrax/batch_uploads_controller.rb', line 9 def self.build(resource, current_ability, *extra) form_class.new(resource, current_ability, *extra) end |
.form_class(_ = nil) ⇒ Object
13 14 15 |
# File 'app/controllers/hyrax/batch_uploads_controller.rb', line 13 def self.form_class(_ = nil) ::Hyrax::Forms::BatchUploadForm end |