This repository was archived by the owner on Sep 16, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
# [ WIP] Symfony CMF Routing Auto Route Bundle [ ![ Build Status] ( https://secure.travis-ci.org/symfony-cmf/RoutingAutoBundle.png )] ( http://travis-ci.org/symfony-cmf/RoutingAutoBundle )
2
2
3
- This bundle automatically creates and manages routes for configured persisted
3
+ This bundle automatically creates and manages routes for configured persisted
4
4
document classes.
5
5
6
6
* WARNING* : This bundle is still experimental. It works, but there may be some
@@ -17,14 +17,14 @@ The following is the current functional test configuration:
17
17
18
18
auto_route_mapping:
19
19
20
- ##
20
+ ##
21
21
# e.g. /cms/auto-route/blog/my-blogs-title
22
22
Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Functional\app\Document\Blog:
23
23
24
24
# generate or use path components leading up to the final part of the path
25
25
content_path:
26
26
base:
27
- provider:
27
+ provider:
28
28
name: specified
29
29
path: /test/auto-route/blog
30
30
exists_action:
@@ -34,13 +34,13 @@ The following is the current functional test configuration:
34
34
patcher: generic
35
35
36
36
content_name:
37
- provider:
37
+ provider:
38
38
name: from_object_method
39
39
method: getTitle
40
- exists_action:
40
+ exists_action:
41
41
strategy: auto_increment
42
42
pattern: -%d
43
- not_exists_action:
43
+ not_exists_action:
44
44
strategy: create
45
45
46
46
## Restrictions:
@@ -53,7 +53,7 @@ The following is the current functional test configuration:
53
53
Add a requirement for `` symfony-cmf/routing-auto-bundle `` to your
54
54
composer.json and instantiate the bundle in your AppKernel.php
55
55
56
- new Symfony\Cmf\Bundle\RoutingAutoBundle\SymfonyCmfRoutingAutoBundle ()
56
+ new Symfony\Cmf\Bundle\RoutingAutoBundle\CmfRoutingAutoBundle ()
57
57
58
58
## Running the tests
59
59
Original file line number Diff line number Diff line change 7
7
>
8
8
9
9
<testsuites >
10
- <testsuite name =" SymfonyCmfRoutingAutoBundle Test Suite" >
10
+ <testsuite name =" Symfony CmfRoutingAutoBundle Test Suite" >
11
11
<directory >./Tests</directory >
12
12
</testsuite >
13
13
</testsuites >
You can’t perform that action at this time.
0 commit comments