aboutsummaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb15
1 files changed, 14 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 0dcd800..06470d3 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -5,5 +5,18 @@ Rails.application.routes.draw do
controller: :terraform_http_backend,
except: %i[new edit update]
- resources :mini_environments, path: '/'
+ resources :mini_environments, path: '/' do
+ post '/', to: 'mini_environments#perform_action', as: 'perform_action'
+ end
+
+ namespace :govuk_guix do
+ get 'revisions', to: 'revisions#index'
+ end
+
+ resources :que_jobs, only: [] do
+ member do
+ post 'cancel'
+ post 'retry_now'
+ end
+ end
end