From 1e3fe5a632371e498b41f32243c90febf3a07aed Mon Sep 17 00:00:00 2001 From: Mateja Date: Fri, 13 Nov 2020 21:51:34 +0100 Subject: api routes shit... --- routes/api.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'routes/api.php') diff --git a/routes/api.php b/routes/api.php index 4c028b0..d85ea7a 100644 --- a/routes/api.php +++ b/routes/api.php @@ -3,7 +3,7 @@ use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; -use App\Http\Controller\ReservationsController; +use App\Http\Controllers\ReservationsController; /* |-------------------------------------------------------------------------- @@ -20,3 +20,4 @@ Route::middleware('auth:api')->get('/user', function (Request $request) { return $request->user(); }); +Route::post('activities', [ReservationsController::class, 'index']); -- cgit v1.2.3