Leverage HOME constant

This commit is contained in:
Laravel Shift 2021-02-14 18:21:25 +00:00
parent ebac1ac435
commit cd5e3e9030

View file

@ -36,6 +36,13 @@ class RouteServiceProvider extends ServiceProvider
*/ */
protected $namespace = 'App\Http\Controllers'; protected $namespace = 'App\Http\Controllers';
/**
* The path to the "home" route for your application.
*
* @var string
*/
public const HOME = '/home';
/** /**
* Define your route model bindings, pattern filters, etc. * Define your route model bindings, pattern filters, etc.
* *