From 7bc196dabd3186793880c6d833392e8d8da3d191 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sat, 23 Jun 2018 11:40:52 +0100 Subject: Add support for managing Terraform AWS backends from the show page --- config/routes.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'config') 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', -- cgit v1.2.3