# 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 }