Skip to content

Instantly share code, notes, and snippets.

@hafriedlander
Created December 14, 2011 22:33
Show Gist options
  • Save hafriedlander/1478876 to your computer and use it in GitHub Desktop.
Save hafriedlander/1478876 to your computer and use it in GitHub Desktop.
SS3 configuration system blog post example 2 - new configuration
---
Name: cms_routes
Before: 'framework/routes#security_route'
---
Director:
Routes:
'admin/cms//$Action/$ID/$OtherID': CMSMain
---
Name: catchall_route
After: '*'
---
Director:
Routes:
'$URLSegment//$Action/$ID/$OtherID': ModelAsController
---
Name: core_routes
---
Director:
Routes:
'$Controller//$Action/$ID/$OtherID': '*'
---
Name: security_route
---
Director:
Routes:
'admin//$action/$ID/$OtherID': '->admin/security'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment