Class: Staypuft::SubnetsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ApplicationController
- Staypuft::SubnetsController
- Defined in:
- app/controllers/staypuft/subnets_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
12 13 14 15 16 |
# File 'app/controllers/staypuft/subnets_controller.rb', line 12 def create @simple_subnet = SimpleSubnet.new(params[:staypuft_simple_subnet]) @simple_subnet.deployment = @deployment @result = @simple_subnet.save end |
#new ⇒ Object
8 9 10 |
# File 'app/controllers/staypuft/subnets_controller.rb', line 8 def new @simple_subnet = SimpleSubnet.new end |