Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[11.x] Add symmetrical convenience method (laravel#50408)
* Add symmetrical convenience method Since a `redirectGuestsTo` convenience method exists, I felt a `redirectUsersTo` convenience method should also exist. Especially since `users` is the second optional argument, as this would avoid using named parameters when it's the only redirect a user sets. * Update Middleware.php --------- Co-authored-by: Taylor Otwell <taylor@laravel.com>
- Loading branch information