Skip to content

Commit

Permalink
Remove redundant govuk_admin_template config
Browse files Browse the repository at this point in the history
As of version 7.0, the config is now the default gem behaviour.
  • Loading branch information
theseanything committed Jun 12, 2024
1 parent 4a8eefc commit 98739db
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions config/initializers/govuk_admin_template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,3 @@
c.app_title = "GOV.UK Support"
c.show_signout = true
end

GovukAdminTemplate.environment_label = ENV.fetch("GOVUK_ENVIRONMENT_NAME", "development").titleize
GovukAdminTemplate.environment_style = ENV["GOVUK_ENVIRONMENT_NAME"] == "production" ? "production" : "preview"

0 comments on commit 98739db

Please sign in to comment.