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

Commitce45b71

Browse files
author
Hugo Hamon
committed
[book] fixes typo about redirect status codes in the controller chapter.
1 parentf1c30e4 commitce45b71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎book/controller.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ If you want to redirect the user to another page, use the ``redirectToRoute()``
438438
return $this->redirectToRoute('homepage');
439439

440440
// redirectToRoute is equivalent to using redirect() and generateUrl() together:
441-
// return $this->redirect($this->generateUrl('homepage'), 301);
441+
// return $this->redirect($this->generateUrl('homepage'));
442442
}
443443

444444
..versionadded::2.6

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp