41a4507bccc519c729c04518a3f177220d936a94
[mobi/.git] / apps / companyfront / config / routing.yml
1 # You can find more information about this file on the symfony website:
2 # http://www.symfony-project.org/reference/1_4/en/10-Routing
3
4 # default rules
5 homepage:
6   url:     /
7   class:   sfDoctrineRoute
8   param:   { module: company, action: index }
9   options: { model: Company, type: object }
10
11 company_index:
12   url:     /company/index
13   class:   sfDoctrineRoute
14   param:   { module: company, action: index }
15   options: { model: Company, type: object }
16
17 offices_index:
18   url:     /office/index
19   class:   sfDoctrineRoute
20   param:   { module: office, action: index }
21   options: { model: Office, type: object }
22
23 ads_index:
24   url:     /ad/index
25   class:   sfDoctrineRoute
26   param:   { module: ad, action: index }
27   options: { model: Ad, type: object }
28
29 companycategories_index:
30   url:     /category/index
31   class:   sfDoctrineRoute
32   param:   { module: category, action: index }
33   options: { model: CompanyCategory, type: object }
34
35 # generic rules
36 # please, remove them by adding more specific rules
37 default_index:
38   url:   /:module
39   param: { action: index }
40
41 default:
42   url:   /:module/:action/*
43
44 sf_guard_signin:
45   url:   /login
46   param: { module: sfGuardAuth, action: signin }
47
48 sf_guard_signout:
49   url:   /logout
50   param: { module: sfGuardAuth, action: signout }