aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-01-28 14:46:03 +0000
committerChristopher Baines <mail@cbaines.net>2018-03-29 07:28:09 +0100
commit97f6d7e326a1fd7ddcbe7cf32dc0e4c0a508913d (patch)
treefa2dceba69676cd0a2d35840fea69eb1422b52bd /config
parenteb3177b0d8de10f316ac595dff3b8165cf828796 (diff)
downloadgovuk-mini-environment-admin-97f6d7e326a1fd7ddcbe7cf32dc0e4c0a508913d.tar
govuk-mini-environment-admin-97f6d7e326a1fd7ddcbe7cf32dc0e4c0a508913d.tar.gz
Add terraform backend and initial guix configuration
Diffstat (limited to 'config')
-rw-r--r--config/initializers/que.rb1
-rw-r--r--config/routes.rb6
2 files changed, 6 insertions, 1 deletions
diff --git a/config/initializers/que.rb b/config/initializers/que.rb
new file mode 100644
index 0000000..b9e5a68
--- /dev/null
+++ b/config/initializers/que.rb
@@ -0,0 +1 @@
+Que.mode = :off
diff --git a/config/routes.rb b/config/routes.rb
index 2296683..0dcd800 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,5 +1,9 @@
Rails.application.routes.draw do
root :to => 'mini_environments#index'
- resources :mini_environments, :path => '/'
+ resource :terraform_http_backend,
+ controller: :terraform_http_backend,
+ except: %i[new edit update]
+
+ resources :mini_environments, path: '/'
end