Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 375 Bytes

modify-laravel-'HOME'-redirection-path.md

File metadata and controls

7 lines (5 loc) · 375 Bytes

How to modify Laravel 'HOME' redirection path

When a user logs in, Laravel redirects it to path stored in HOME constant by default. If you want to modify this constant or add constants of your own, you can do it like this.

  1. Open app\Providers\RouteServiceProvider.php
  2. Search public const HOME to update HOME constant
  3. You can add your own just like that