Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Fix links in the header of the MNO requests table #611

Merged
merged 1 commit into from
Oct 8, 2020

Conversation

benilovj
Copy link
Contributor

@benilovj benilovj commented Oct 6, 2020

Context

We recently switched out the implementation of govuk_link_to, from
the one that was defined in the app, to a version that is defined in the
govuk-components gem.

This meant that the MNO requests table links weren't being generated quite correctly
and weren't getting the 'govuk-link' class applied to them.

Changes proposed in this pull request

This change hardcodes the path helper to the MNO request index path, so
I've changed the helper name to reflect that.

We recently switched out the implementation of `govuk_link_to`, from
the one that was defined in the app, to a version that is defined in the
`govuk-components` gem.

This meant that the MNO requests table links weren't being generated quite correctly
and weren't getting the 'govuk-link' class applied to them.

This change hardcodes the path helper to the MNO request index path, so
I've changed the helper name to reflect that.
@muqi1 muqi1 temporarily deployed to ghwt-review-pr-611 October 6, 2020 11:14 Inactive
@fofr
Copy link
Contributor

fofr commented Oct 6, 2020

Is this another example of govuk_link_to not having the same usage as link_to?

@benilovj
Copy link
Contributor Author

benilovj commented Oct 8, 2020

Is this another example of govuk_link_to not having the same usage as link_to?

Yep, raised an issue with govuk-components: x-govuk/govuk-components#66

@benilovj benilovj merged commit d9cd47c into main Oct 8, 2020
@benilovj benilovj deleted the fix-mno-requests-header-links branch October 8, 2020 05:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants