diff options
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 70d967a..55aeab5 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -16,7 +16,11 @@ Rails.application.routes.draw do resources :terraform_aws, as: 'terraform_aws_backends', controller: 'backends/terraform_aws', - only: %i[create new show update destroy] + only: %i[create new show update destroy] do + member do + post 'perform_action' + end + end resources :terraform_libvirt, as: 'terraform_libvirt_backends', |