Skip to content

Instantly share code, notes, and snippets.

@hafriedlander
Created December 14, 2011 23:03
Show Gist options
  • Save hafriedlander/1478995 to your computer and use it in GitHub Desktop.
Save hafriedlander/1478995 to your computer and use it in GitHub Desktop.
SS3 configuration system blog post example 3 - conditionals in new system
---
Name: core_routes
---
Director:
Routes:
'$Controller//$Action/$ID/$OtherID': '*'
---
Name: security_route
Except:
moduleexists: 'cms'
---
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