Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit01d61d6

Browse files
committed
minor#6284 [Book] [Routing] Fix third param true to UrlGeneratorInterface::ABSOLUTE_URI (eriwin)
This PR was merged into the 2.3 branch.Discussion----------[Book] [Routing] Fix third param true to UrlGeneratorInterface::ABSOLUTE_URI| Q | A| ------------- | ---| Doc fix? | yes| New docs? | no| Applies to | all| Fixed tickets |symfony/symfony#16991This was forgotten in#6009Commits-------ec53faa Updated third param true to UrlGeneratorInterface::ABSOLUTE_URl in text Generating Absolute URLs
2 parents8e36327 +ec53faa commit01d61d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎book/routing.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1477,7 +1477,7 @@ Generating Absolute URLs
14771477
~~~~~~~~~~~~~~~~~~~~~~~~
14781478

14791479
By default, the router will generate relative URLs (e.g. ``/blog``). From
1480-
a controller, simply pass ``true`` to the third argument of the ``generateUrl()``
1480+
a controller, simply pass ``UrlGeneratorInterface::ABSOLUTE_URL`` to the third argument of the ``generateUrl()``
14811481
method::
14821482

14831483
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp