From 3537441cb5cf6b9d533ce2c4ecc6f45c26be2ad0 Mon Sep 17 00:00:00 2001 From: SrFortes <41592754+SrFortes@users.noreply.github.com> Date: Fri, 26 Jan 2024 13:36:46 -0400 Subject: [PATCH] Update web.php change route get add name in route ->name('user-activity') --- routes/web.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routes/web.php b/routes/web.php index d07dae9..58264c2 100644 --- a/routes/web.php +++ b/routes/web.php @@ -3,6 +3,6 @@ 'namespace' => '\Haruncpi\LaravelUserActivity\Controllers', 'middleware' => config('user-activity.middleware') ], function () { - Route::get(config('user-activity.route_path'), 'ActivityController@getIndex'); + Route::get(config('user-activity.route_path'), 'ActivityController@getIndex')->name('user-activity'); Route::post(config('user-activity.route_path'), 'ActivityController@handlePostRequest'); -}); \ No newline at end of file +});