Skip to content

Commit c17aaeb

Browse files
authored
Merge pull request #285 from kenjis/refactor-remove-route_to
refactor: remove calling route_to()
2 parents b28f9e7 + 3d492fe commit c17aaeb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Controllers/LoginController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function loginAction(): RedirectResponse
5050
// If an action has been defined for login, start it up.
5151
$actionClass = setting('Auth.actions')['login'] ?? null;
5252
if (! empty($actionClass)) {
53-
return redirect()->to(route_to('auth-action-show'))->withCookies();
53+
return redirect()->route('auth-action-show')->withCookies();
5454
}
5555

5656
return redirect()->to(config('Auth')->loginRedirect())->withCookies();

0 commit comments

Comments
 (0)