routing.yml 1.98 KB
Newer Older
Яков's avatar
first  
Яков committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
detect_lang:
  url: /
  param: { module: user, action: detect_lang }

homepage:
  url: /:sf_culture/
  param: { module: main, action: index }
  requirements:
    sf_culture: (?:ru|en)

search:
  url: /:sf_culture/search/
  param: { module: search, action: search }

article:
  url: /:sf_culture/article/
  param: { module: article, action: index }

article_show:
  url: /:sf_culture/article/:alias/
  param: { module: article, action: show }

review:
  url: /:sf_culture/review/
  param: { module: review, action: index }

catalog:
  url: /:sf_culture/catalog/
  param: { module: catalog, action: index }

catalog_show:
  url: /:sf_culture/catalog/:alias/
  class: sfDoctrineRoute
  options: { model: Cat, type: object }
  param: { module: catalog, action: show }

product_show:
  url: /:sf_culture/product/:alias/
  class: sfDoctrineRoute
  options: { model: Product, type: object }
  param: { module: product, action: show }

basket:
  url: /:sf_culture/basket/
  param: { module: basket, action: index}

basket_complete:
  url: /:sf_culture/basket/complete/
  param: { module: basket, action: complete }

catalog_show_cat:
  url: /catalog/:alias/
  param: { module: catalog, action: show_cat }

basket_ajax:
  url: /basket/ajax/
  param: { module: basket, action: ajax }

catalog_show_prod:
  url: /product/:alias/
  param: { module: catalog, action: show_prod }

feedback:
  url: /feedback/
  param: { module: user, action: feedback }

exchange:
  url: /exchange/
  param: { module: exchange, action: exchange }

video:
  url: /:sf_culture/video/
  param: { module: video, action: index}

download:
  url: /download/:type/:id/
  param: { module: main, action: dl}

callback:
  url: /callback/
  param: { module: callback, action: new}

uploader:
  url: /uploader/
  param: { module: main, action: uploader }

page_show:
  url: /:sf_culture/:alias/
  class: sfDoctrineRoute
  options: { model: Page, type: object }
  param: { module: pages, action: show }

sitemap:
  url: /sitemap.xml
  param: { module: pages, action: sitemap }