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