Skip to content

Commit 9cba3de

Browse files
committed
Set default header homepage
Add configuration for GOV.UK Components for Ruby on Rails [[1]] so we can set the default header homepage. In govuk-components 6.0.0 the default was changed from the app root to GOV.UK [[2]], to match the same change in GOV.UK Frontend 6.0.0 [[3]]. [1]: https://govuk-components.netlify.app/introduction/configuration/ [2]: x-govuk/govuk-components#626 [3]: alphagov/govuk-frontend#6418
1 parent bb19cad commit 9cba3de

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Govuk::Components.configure do |config|
2+
config.default_header_homepage_url = "/"
3+
end

0 commit comments

Comments
 (0)