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

Appearance settings

Commit f00344a

Browse filesBrowse files
romaricdrigonjaviereguiluz
authored andcommitted
MakerBundle uses urlGenerator instead of Router
1 parent ba53ff2 commit f00344a
Copy full SHA for f00344a

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎security/form_login_setup.rst

Copy file name to clipboardExpand all lines: security/form_login_setup.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ be redirected after success:
295295
296296
- throw new \Exception('TODO: provide a valid redirect inside '.__FILE__);
297297
+ // redirect to some "app_homepage" route - of wherever you want
298-
+ return new RedirectResponse($this->router->generate('app_homepage'));
298+
+ return new RedirectResponse($this->urlGenerator->generate('app_homepage'));
299299
}
300300
301301
Unless you have any other TODOs in that file, that's it! If you're loading users

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.