Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix account related URLs #2312

Merged
merged 1 commit into from
Oct 29, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions app/views/root/_base.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<nav class="gem-c-header__nav">
<ul class="govuk-header__navigation govuk-header__navigation--end" aria-label="Top Level Navigation">
<li class="govuk-header__navigation-item">
<a class="govuk-header__link" href="<% Plek.new.website_root %>/transition-check/login">Sign in</a>
<a class="govuk-header__link" href="<%= Plek.new.website_root %>/transition-check/login">Sign in</a>
</li>
</ul>
</nav>
Expand All @@ -41,10 +41,10 @@
<nav class="gem-c-header__nav">
<ul class="govuk-header__navigation govuk-header__navigation--end" aria-label="Top Level Navigation">
<li class="govuk-header__navigation-item">
<a class="govuk-header__link" href="<% Plek.find("account-manager") %>">Account</a>
<a class="govuk-header__link" href="<%= Plek.new.find("account-manager") %>">Account</a>
</li>
<li class="govuk-header__navigation-item">
<a class="govuk-header__link" href="<% Plek.new.website_root %>/transition-check/logout">Sign out</a>
<a class="govuk-header__link" href="<%= Plek.new.website_root %>/transition-check/logout">Sign out</a>
</li>
</ul>
</nav>
Expand Down