Skip to content

Commit

Permalink
Merge pull request #119 from alphagov/fix-service-link
Browse files Browse the repository at this point in the history
Fix hardcoded service link in header
  • Loading branch information
36degrees authored Oct 8, 2019
2 parents 85e2114 + 58aa694 commit 1f470fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/source/layouts/_header.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="govuk-header__container govuk-header__container--full-width">
<div class="govuk-header__logo">
<% if config[:tech_docs][:service_link] %>
<a href="/" class="govuk-header__link govuk-header__link--homepage">
<a href="<%= url_for config[:tech_docs][:service_link] %>" class="govuk-header__link govuk-header__link--homepage">
<% else %>
<span class="govuk-header__link govuk-header__link--homepage">
<% end %>
Expand Down

0 comments on commit 1f470fb

Please sign in to comment.