From 57f462f8e03a4544211e08e1d5fd978c6a7c7f2b Mon Sep 17 00:00:00 2001 From: Sean Rankine Date: Wed, 12 Jun 2024 14:00:54 +0100 Subject: [PATCH] Remove redundant govuk_admin_template config As of version 7.0, the config is now the default gem behaviour. https://github.com/alphagov/govuk_admin_template/blob/06d93749b4482f062e721ce300ff9509d08c4c0b/lib/govuk_admin_template.rb#L10 --- config/initializers/govuk_admin_template.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/config/initializers/govuk_admin_template.rb b/config/initializers/govuk_admin_template.rb index a667e7e83..9e78466cb 100644 --- a/config/initializers/govuk_admin_template.rb +++ b/config/initializers/govuk_admin_template.rb @@ -3,6 +3,3 @@ c.show_signout = true c.show_flash = true end - -GovukAdminTemplate.environment_label = ENV.fetch("GOVUK_ENVIRONMENT_NAME", "development").titleize -GovukAdminTemplate.environment_style = ENV["GOVUK_ENVIRONMENT_NAME"] == "production" ? "production" : "preview"