aboutsummaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/backends/terraform_aws_controller.rb4
-rw-r--r--app/controllers/backends/terraform_libvirt_controller.rb4
2 files changed, 8 insertions, 0 deletions
diff --git a/app/controllers/backends/terraform_aws_controller.rb b/app/controllers/backends/terraform_aws_controller.rb
index e5b66d4..b09001d 100644
--- a/app/controllers/backends/terraform_aws_controller.rb
+++ b/app/controllers/backends/terraform_aws_controller.rb
@@ -84,6 +84,10 @@ class Backends::TerraformAwsController < ApplicationController
redirect_to terraform_aws_backend_path(@backend)
end
+ def in_use_store_paths
+ @backend = Backends::TerraformAws.find(params['id'])
+ end
+
private
def create_params
diff --git a/app/controllers/backends/terraform_libvirt_controller.rb b/app/controllers/backends/terraform_libvirt_controller.rb
index 4421146..1bf37cd 100644
--- a/app/controllers/backends/terraform_libvirt_controller.rb
+++ b/app/controllers/backends/terraform_libvirt_controller.rb
@@ -82,6 +82,10 @@ class Backends::TerraformLibvirtController < ApplicationController
redirect_to terraform_libvirt_backend_path(@backend)
end
+ def in_use_store_paths
+ @backend = Backends::TerraformLibvirt.find(params['id'])
+ end
+
private
def create_params