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 +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 4
4
Multiple Auto Routes
5
5
====================
6
6
7
+ .. versionadded: 2.0
8
+
9
+ The capability to add multiple routes for a managed object has been
10
+ introduced in RoutingAutoBundle 2.0.
11
+
7
12
In the introduction you were shown an example using a single auto route schema
8
13
definition. It is possible to have multiple auto-route definitions for each of your
9
14
managed objects, and therefore multiple routes.
@@ -18,7 +23,7 @@ new ``edit`` schema definition which has the ``/admin`` prefix:
18
23
19
24
# src/Acme/ForumBundle/Resources/config/cmf_routing_auto.yml
20
25
Acme\ForumBundle\Document\Topic :
21
- definitions :
26
+ definitions :
22
27
main :
23
28
uri_schema : /my-forum/{category}/{title}
24
29
defaults :
Original file line number Diff line number Diff line change 2
2
single: RoutingAuto; Bundles
3
3
single: RoutingAutoBundle
4
4
5
- Introduction
6
- ============
5
+ RoutingAutoBundle
6
+ =================
7
7
8
8
The RoutingAutoBundle allows you to automatically persist routes when
9
9
documents are persisted based on URI schemas and contextual information.
@@ -120,7 +120,7 @@ document could be defined as follows:
120
120
121
121
# src/Acme/ForumBundle/Resources/config/cmf_routing_auto.yml
122
122
Acme\ForumBundle\Document\Topic :
123
- definitions :
123
+ definitions :
124
124
main :
125
125
uri_schema : /my-forum/{category}/{title}
126
126
token_providers :
You can’t perform that action at this time.
0 commit comments