Skip to content

Instantly share code, notes, and snippets.

@khepin
Created December 9, 2010 08:42
Show Gist options
  • Save khepin/734493 to your computer and use it in GitHub Desktop.
Save khepin/734493 to your computer and use it in GitHub Desktop.
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/10-Routing
<?php foreach(glob(dirname(__FILE__).'/routing/*.yml') as $filename):?>
<?php include($filename)?>
# Note that this empty line is important.
# If not present you have to make all your other
# routing files end with an empty line in order to prevent indentation errors
<?php endforeach?>
design:
class: sfDoctrineRouteCollection
options:
model: Design
actions: [show]
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment