Class: PlateCreationController
- Inherits:
-
CreationController
- Object
- ActionController::Base
- ApplicationController
- CreationController
- PlateCreationController
- Defined in:
- app/controllers/plate_creation_controller.rb
Overview
Involved in creation of plates Controllers find the appropriate LabwareCreator specified by the purpose configuration new => renders the form specified by the labware creator,
This usually indicates that further information needs to be supplied by the user,
or that we need to display an interstitial page
create => Use the specified labware creator to generate the resource. Will usually redirect
to the asset that has just been created, but may redirect to the parent if there are multiple children.
Instance Method Summary collapse
Instance Method Details
#redirection_path(form) ⇒ Object
11 12 13 |
# File 'app/controllers/plate_creation_controller.rb', line 11 def redirection_path(form) limber_plate_path(form.redirection_target.uuid, anchor: form.anchor) end |