Skip to content

Instantly share code, notes, and snippets.

@Raistlfiren
Last active June 28, 2016 16:07
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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