aboutsummaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 8242395..507c77a 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -23,6 +23,15 @@ Rails.application.routes.draw do
end
end
+ resources :terraform_aws_using_ami,
+ as: 'terraform_aws_using_ami_backends',
+ controller: 'backends/terraform_aws_using_ami',
+ only: %i[create new show update destroy] do
+ member do
+ post 'perform_action'
+ end
+ end
+
resources :terraform_libvirt,
as: 'terraform_libvirt_backends',
controller: 'backends/terraform_libvirt',