From cd5e3e903021992249f1cfbc93987519edde5e4c Mon Sep 17 00:00:00 2001 From: Laravel Shift Date: Sun, 14 Feb 2021 18:21:25 +0000 Subject: [PATCH] Leverage HOME constant --- app/Providers/RouteServiceProvider.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php index ebd44394..cd820235 100644 --- a/app/Providers/RouteServiceProvider.php +++ b/app/Providers/RouteServiceProvider.php @@ -36,6 +36,13 @@ class RouteServiceProvider extends ServiceProvider */ 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. *