Created
October 5, 2010 10:19
-
-
Save delbono/611328 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# You can find more information about this file on the symfony website: | |
# http://www.symfony-project.org/reference/1_4/en/10-Routing | |
ordinativi_order: | |
class: sfDoctrineRouteCollection | |
options: | |
model: OrdinativiOrder | |
module: order | |
prefix_path: /order | |
column: id | |
with_wildcard_routes: true | |
ordinativi_health_state: | |
class: sfDoctrineRouteCollection | |
options: | |
model: OrdinativiHealthState | |
module: healthstate | |
prefix_path: /healthstate | |
column: id | |
with_wildcard_routes: true | |
order_add_menu: | |
url: /order/addmenu | |
param: { module: order, action: addmenu } | |
menu: | |
url: /menu | |
param: { module: menu, action: index } | |
ordinativi_show_order: | |
url: /order/:id | |
class: sfDoctrineRoute | |
options: { model: OrdinativiOrder, type: object } | |
param: { module: order, action: show } | |
requirements: | |
id: \d+ | |
sf_method: [get] | |
# generic rules | |
# please, remove them by adding more specific rules | |
#default_index: | |
# url: /:module | |
# param: { action: index } | |
default: | |
url: /:module/:action/* | |
sf_guard_signin: | |
url: /login | |
param: { module: sfGuardAuth, action: signin } | |
sf_guard_signout: | |
url: /logout | |
param: { module: sfGuardAuth, action: signout } | |
sf_guard_password: | |
url: /request_password | |
param: { module: sfGuardAuth, action: password } | |
# default rules | |
homepage: | |
url: / | |
param: { module: order, action: index } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment