Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions reference/configuration/framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ Configuration

* `router`_

* `default_uri`_
* `http_port`_
* `https_port`_
* `resource`_
Expand Down Expand Up @@ -1145,6 +1146,14 @@ The type of the resource to hint the loaders about the format. This isn't
needed when you use the default routers with the expected file extensions
(``.xml``, ``.yaml``, ``.php``).

default_uri
...........

**type**: ``string``

The default URI used to generate URLs in a non-HTTP context (see
:ref:`Generating URLs in Commands <router-generate-urls-commands>`).

http_port
.........

Expand Down
2 changes: 2 additions & 0 deletions routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2055,6 +2055,8 @@ If you need to generate URLs dynamically or if you are using pure JavaScript
code, this solution doesn't work. In those cases, consider using the
`FOSJsRoutingBundle`_.

.. _router-generate-urls-commands:

Generating URLs in Commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down