Module: CCS::FrontendHelpers::GovUKFrontend::Header
- Included in:
- CCS::FrontendHelpers::GovUKFrontend
- Defined in:
- lib/ccs/frontend_helpers/govuk_frontend/header.rb
Overview
GOV.UK Header
This helper is used for generating the header component from the GDS - Components - Header
Instance Method Summary collapse
-
#govuk_header(**options) ⇒ ActiveSupport::SafeBuffer
Generates the HTML for the GOV.UK Header component.
Instance Method Details
#govuk_header(**options) ⇒ ActiveSupport::SafeBuffer
Generates the HTML for the GOV.UK Header component
22 23 24 |
# File 'lib/ccs/frontend_helpers/govuk_frontend/header.rb', line 22 def govuk_header(**) Components::GovUK::Header.new(context: self, **).render end |