aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-05-28 20:37:27 +0100
committerChristopher Baines <mail@cbaines.net>2018-05-30 20:17:50 +0100
commitde6535e52fb0eb92689d19e4025997bf090ebc75 (patch)
treeff348ae72c38a3aeffaa8dbb80429b31db555367 /config
parent3b135d15e48eafb99395b3f1a62e15e5de1c5a4f (diff)
downloadgovuk-mini-environment-admin-de6535e52fb0eb92689d19e4025997bf090ebc75.tar
govuk-mini-environment-admin-de6535e52fb0eb92689d19e4025997bf090ebc75.tar.gz
Enable editing the services when creating a mini environment
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 42883a4..f6ea63b 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -49,5 +49,10 @@ Rails.application.routes.draw do
resources :mini_environments, path: '/' do
post '/', to: 'mini_environments#perform_action', as: 'perform_action'
+
+ member do
+ get 'services'
+ put 'services'
+ end
end
end