Skip to content

Instantly share code, notes, and snippets.

@gido
Created April 28, 2009 13:42
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 gido/103158 to your computer and use it in GitHub Desktop.
Save gido/103158 to your computer and use it in GitHub Desktop.
# routing.yml
language:
class: sfPropelRouteCollection
options:
model: Language
module: language
prefix_path: language
column: id
with_wildcard_routes: true
requirememts: '\w+'
# cache: config_routing.yml.php
'language' => new sfPropelRouteCollection(array (
'model' => 'Language',
'module' => 'language',
'prefix_path' => 'language',
'column' => 'id',
'with_wildcard_routes' => true,
'requirememts' => '\\w+',
'name' => 'language',
'requirements' =>
array (
),
)),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment