File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -162,6 +162,36 @@ path):
162
162
;
163
163
};
164
164
165
+ Now make sure that the ``app.route_prefix `` parameter is set somewhere in your
166
+ container:
167
+
168
+ .. configuration-block ::
169
+
170
+ .. code-block :: yaml
171
+
172
+ # app/config/config.yml
173
+ parameters :
174
+ app.route_prefix : ' foo'
175
+
176
+ .. code-block :: xml
177
+
178
+ <!-- app/config/config.xml -->
179
+ <?xml version =" 1.0" charset =" UTF-8" ?>
180
+ <container xmlns =" http://symfony.com/schema/dic/services"
181
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
182
+ xsi : schemaLocation =" http://symfony.com/schema/dic/services
183
+ https://symfony.com/schema/dic/services/services-1.0.xsd" >
184
+
185
+ <parameters >
186
+ <parameter key =" app.route_prefix" >foo</parameter >
187
+ </parameters >
188
+ </container >
189
+
190
+ .. code-block :: php
191
+
192
+ // app/config/config.php
193
+ $container->setParameter('app.route_prefix', 'foo');
194
+
165
195
.. note ::
166
196
167
197
Just like in normal service container configuration files, if you actually
You can’t perform that action at this time.
0 commit comments