File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
Tests/Unit/DependencyInjection Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ Changelog
4
4
1.2.0-RC2
5
5
---------
6
6
7
+ * ** 2014-04-23** : changed `` cmf_routing.dynamic.route_collection_limit `` default to `` 0 ``
8
+
7
9
* ** 2014-04-15** : Removed the unused ContentAwareGenerator class from the
8
10
bundle. Since 1.1 the one from the routing component was used.
9
11
@@ -33,6 +35,9 @@ Changelog
33
35
* ** 2014-03-23** : When using PHPCR-ODM, routes can now be generated with their
34
36
uuid as route name as well, in addition to the repository path.
35
37
38
+ * ** 2013-12-23** : add support for ChainRouter::getRouteCollection(), added new
39
+ config setting `` cmf_routing.dynamic.route_collection_limit ``
40
+
36
41
* ** 2013-11-28** : [ BC BREAK for xml configuration] the alias attribute of the
37
42
<template-by-class > is renamed to class in the bundle configuration.
38
43
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public function getConfigTreeBuilder()
56
56
->addDefaultsIfNotSet ()
57
57
->canBeEnabled ()
58
58
->children ()
59
- ->scalarNode ('route_collection_limit ' )->defaultNull ( )->end ()
59
+ ->scalarNode ('route_collection_limit ' )->defaultValue ( 0 )->end ()
60
60
->scalarNode ('generic_controller ' )->defaultNull ()->end ()
61
61
->scalarNode ('default_controller ' )->defaultNull ()->end ()
62
62
->arrayNode ('controllers_by_type ' )
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public function testSupportsAllConfigFormats()
39
39
'replace_symfony_router ' => true ,
40
40
),
41
41
'dynamic ' => array (
42
- 'route_collection_limit ' => null ,
42
+ 'route_collection_limit ' => 0 ,
43
43
'generic_controller ' => 'acme_main.controller:mainAction ' ,
44
44
'controllers_by_type ' => array (
45
45
'editable ' => 'acme_main.some_controller:editableAction ' ,
You can’t perform that action at this time.
0 commit comments