Skip to content

Instantly share code, notes, and snippets.

@Raistlfiren
Last active Jun 28, 2016
Embed
What would you like to do?
taxonomylink:
path: '/{taxonomytype}/{slug}'
defaults:
_controller: 'Bolt\Controllers\Frontend::taxonomy'
requirements:
taxonomytype: 'Bolt\Controllers\Routing::getAnyTaxonomyTypeRequirement'
regions:
name: 'Sub Regions'
slug: regions
singular_name: region
singular_slug: region
behaves_like: categories
multiple: true
options: [ nord, etc ]
listing_records: 1000
listing_template: regioncategories.twig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment