Class: WorksWizardUpdateAdditionalController
- Inherits:
-
WorksWizardController
- Object
- ActionController::Base
- ApplicationController
- WorksWizardController
- WorksWizardUpdateAdditionalController
- Defined in:
- app/controllers/works_wizard_update_additional_controller.rb
Overview
Controller to handle the update Additional Metadata step in wizard Mode when editing an work
The wizard flow is shown in the [mermaid diagram here](github.com/pulibrary/pdc_describe/blob/main/docs/wizard_flow.md).
Instance Method Summary collapse
-
#update_additional ⇒ Object
get /works/1/update-additional.
-
#update_additional_save ⇒ Object
PATCH /works/1/update-additional.
Methods inherited from WorksWizardController
#attachment_select, #attachment_selected, #edit_wizard, #file_location_url, #file_other, #file_upload, #file_uploaded, #files_param, #readme_select, #readme_uploaded, #readme_uploaded_payload, #review, #update_wizard, #upload_files, #validate
Methods inherited from ApplicationController
Instance Method Details
#update_additional ⇒ Object
get /works/1/update-additional
14 15 16 |
# File 'app/controllers/works_wizard_update_additional_controller.rb', line 14 def update_additional prepare_decorators_for_work_form(@work) end |
#update_additional_save ⇒ Object
PATCH /works/1/update-additional
19 20 21 |
# File 'app/controllers/works_wizard_update_additional_controller.rb', line 19 def update_additional_save edit_helper(:update_additional, work_readme_select_path(@work)) end |