diff options
author | Christopher Baines <mail@cbaines.net> | 2018-06-23 11:16:26 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-06-23 12:58:05 +0100 |
commit | 05df9f91e9bdf39b190710ef5d80162d03dd52c5 (patch) | |
tree | 4a092a555a120131f8b3f096d274d2e3afc5bbae /config | |
parent | 837e1ecec9798381f78b838947f8028403cb0bef (diff) | |
download | govuk-mini-environment-admin-05df9f91e9bdf39b190710ef5d80162d03dd52c5.tar govuk-mini-environment-admin-05df9f91e9bdf39b190710ef5d80162d03dd52c5.tar.gz |
Support managing the libvirt backend from the show page
Diffstat (limited to 'config')
-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 3c303bc..70d967a 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -21,7 +21,11 @@ Rails.application.routes.draw do resources :terraform_libvirt, as: 'terraform_libvirt_backends', controller: 'backends/terraform_libvirt', - only: %i[create new show update destroy] + only: %i[create new show update destroy] do + member do + post 'perform_action' + end + end end end |