Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mauris
Created May 25, 2013 15:26
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 mauris/5649456 to your computer and use it in GitHub Desktop.
Save mauris/5649456 to your computer and use it in GitHub Desktop.
Sample Routing YAML for Packfire Framework 2.1
imports: null
prefix: null
routes:
home:
methods:
- get
- head
uri: "/{page}.{format}"
action: "Packfire\\Test\\Controller:action"
defaults:
format: "html"
page: 1
requires:
format: "xml|html|json|yaml"
page: \d+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment