Skip to content

Instantly share code, notes, and snippets.

@Raistlfiren
Last active June 28, 2016 16:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Raistlfiren/7ced313cd432c1e7ab8b9e641c4d2a86 to your computer and use it in GitHub Desktop.
Save Raistlfiren/7ced313cd432c1e7ab8b9e641c4d2a86 to your computer and use it in GitHub Desktop.
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