Skip to content

Commit

Permalink
Merge pull request #1148 from GilbertCherrie/add_edit_to_subnets
Browse files Browse the repository at this point in the history
Added params for edit support to cloud subnets options
  • Loading branch information
kbrock authored Apr 12, 2022
2 parents 65716ba + aa211e6 commit 7738fe5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/controllers/api/cloud_subnets_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ class CloudSubnetsController < BaseController
include Subcollections::Tags

def options
if (ems_id = params["ems_id"])
if (id = params["id"])
render_update_resource_options(id)
elsif (ems_id = params["ems_id"])
render_create_resource_options(ems_id)
else
super
Expand Down

0 comments on commit 7738fe5

Please sign in to comment.