aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-06-21 20:45:37 +0100
committerChristopher Baines <mail@cbaines.net>2018-06-21 20:45:37 +0100
commitd98eb528678dcd850a20dbf8eef53aaea6e07552 (patch)
treeea193df67f978a8dda3a485a1337d207d6fa35a9 /config
parentda1926efc1e1f150f27e0c93d1461e3f1eb8c85a (diff)
downloadgovuk-mini-environment-admin-d98eb528678dcd850a20dbf8eef53aaea6e07552.tar
govuk-mini-environment-admin-d98eb528678dcd850a20dbf8eef53aaea6e07552.tar.gz
Add the web-console gem
For easier debugging.
Diffstat (limited to 'config')
-rw-r--r--config/application.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb
index 782ea37..b78dfda 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -6,6 +6,8 @@ require 'rails/all'
require 'govuk_admin_template'
require 'plek'
+require 'web_console' if ENV['RAILS_ENV'] == 'development'
+
module GovukMiniEnvironmentAdmin
class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.