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