Class: Containers::StepsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Containers::StepsController
show all
- Includes:
- ForemanDocker::FindContainer, Wicked::Wizard
- Defined in:
- app/controllers/containers/steps_controller.rb
Instance Method Summary
collapse
#allowed_resources, #find_container
Instance Method Details
#show ⇒ Object
11
12
13
14
|
# File 'app/controllers/containers/steps_controller.rb', line 11
def show
@container_resources = allowed_resources if step == :preliminary
render_wizard
end
|
#update ⇒ Object
16
17
18
19
20
21
22
|
# File 'app/controllers/containers/steps_controller.rb', line 16
def update
if step == wizard_steps.last
create_container
else
render_wizard @state
end
end
|