Class: WorksWizardSubmissionCompleteController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- WorksWizardSubmissionCompleteController
- Defined in:
- app/controllers/works_wizard_submission_complete_controller.rb
Overview
Controller to handle the completion of a submission
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
-
#show ⇒ Object
get /works/policy.
Methods inherited from ApplicationController
Instance Method Details
#show ⇒ Object
get /works/policy
12 13 14 15 16 17 18 19 |
# File 'app/controllers/works_wizard_submission_complete_controller.rb', line 12 def show @work = Work.find(params[:id]) @email = if @work.group == Group.plasma_laboratory "publications@pppl.gov" else "prds@princeton.edu" end end |