File tree 2 files changed +11
-0
lines changed
2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -190,6 +190,7 @@ Configuration
190
190
191
191
* `router `_
192
192
193
+ * `default_uri `_
193
194
* `http_port `_
194
195
* `https_port `_
195
196
* `resource `_
@@ -1145,6 +1146,14 @@ The type of the resource to hint the loaders about the format. This isn't
1145
1146
needed when you use the default routers with the expected file extensions
1146
1147
(``.xml ``, ``.yaml ``, ``.php ``).
1147
1148
1149
+ default_uri
1150
+ ...........
1151
+
1152
+ **type **: ``string ``
1153
+
1154
+ The default URI used to generate URLs in a non-HTTP context (see
1155
+ :ref: `Generating URLs in Commands <router-generate-urls-commands >`).
1156
+
1148
1157
http_port
1149
1158
.........
1150
1159
Original file line number Diff line number Diff line change @@ -2055,6 +2055,8 @@ If you need to generate URLs dynamically or if you are using pure JavaScript
2055
2055
code, this solution doesn't work. In those cases, consider using the
2056
2056
`FOSJsRoutingBundle `_.
2057
2057
2058
+ .. _router-generate-urls-commands :
2059
+
2058
2060
Generating URLs in Commands
2059
2061
~~~~~~~~~~~~~~~~~~~~~~~~~~~
2060
2062
You can’t perform that action at this time.
0 commit comments