Skip to content

Commit

Permalink
Correct support email address
Browse files Browse the repository at this point in the history
also put the support email in a config setting
  • Loading branch information
heathd committed Jun 18, 2024
1 parent 693c9cb commit 7c3b0f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<div class="govuk-notification-banner__content">
<p class="govuk-notification-banner__heading">
This tool is now owned by the GDS Engineering Enablement Team. For support, please contact:<br>
<a href="mailto:[email protected]">[email protected]</a>
<%= link_to(Rails.application.config.support_email) %>
</p>
</div>
</div>
Expand Down
2 changes: 2 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ class Application < Rails::Application
# Common ones are `templates`, `generators`, or `middleware`, for example.
config.autoload_lib(ignore: %w(assets tasks))

config.support_email = "[email protected]"

# Configuration for the application, engines, and railties goes here.
#
# These settings can be overridden in specific environments using the files
Expand Down

0 comments on commit 7c3b0f7

Please sign in to comment.