File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -190,6 +190,7 @@ Configuration
190190
191191* `router `_
192192
193+ * `default_uri `_
193194 * `http_port `_
194195 * `https_port `_
195196 * `resource `_
@@ -1145,6 +1146,14 @@ The type of the resource to hint the loaders about the format. This isn't
11451146needed when you use the default routers with the expected file extensions
11461147(``.xml ``, ``.yaml ``, ``.php ``).
11471148
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+
11481157http_port
11491158.........
11501159
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
20552055code, this solution doesn't work. In those cases, consider using the
20562056`FOSJsRoutingBundle `_.
20572057
2058+ .. _router-generate-urls-commands :
2059+
20582060Generating URLs in Commands
20592061~~~~~~~~~~~~~~~~~~~~~~~~~~~
20602062
You can’t perform that action at this time.
0 commit comments