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