]> Raphaƫl G. Git Repositories - blogbundle/blob - Resources/config/routing.yml
86a99c9bbcf7babadd601b1f257968e801102b0d
[blogbundle] / Resources / config / routing.yml
1 root:
2 path: /
3 defaults: { _controller: RapsysBlogBundle:Default:root }
4
5 homepage:
6 path: /{_locale}
7 defaults: { _controller: RapsysBlogBundle:Page:index }
8 requirements:
9 _locale: '%blog.locales%'
10
11 about:
12 path: /{_locale}/about
13 defaults: { _controller: RapsysBlogBundle:Page:about }
14 requirements:
15 _locale: '%blog.locales%'
16
17 contact:
18 path: /{_locale}/contact
19 defaults: { _controller: RapsysBlogBundle:Page:contact }
20 requirements:
21 _locale: '%blog.locales%'
22
23 articles:
24 path: /{_locale}/articles
25 defaults: { _controller: RapsysBlogBundle:Default:articles }
26 requirements:
27 _locale: '%blog.locales%'
28
29 articles_article:
30 path: /{_locale}/articles/{_article}
31 defaults: { _controller: RapsysBlogBundle:Default:article }
32 requirements:
33 _locale: '%blog.locales%'
34
35 tags:
36 path: /{_locale}/tags
37 defaults: { _controller: RapsysBlogBundle:Default:tags }
38 requirements:
39 _locale: '%blog.locales%'
40
41 tags_tag:
42 path: /{_locale}/tags/{_tag}
43 defaults: { _controller: RapsysBlogBundle:Default:tag }
44 requirements:
45 _locale: '%blog.locales%'