From f024cb509e1656c3c4911730b96b1a98c573ba6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Cort=C3=A9s?= Date: Sun, 16 Jun 2019 21:56:22 -0400 Subject: [PATCH] testing routes --- routes/api.php | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/routes/api.php b/routes/api.php index c641ca5..d4eae93 100644 --- a/routes/api.php +++ b/routes/api.php @@ -2,17 +2,6 @@ use Illuminate\Http\Request; -/* -|-------------------------------------------------------------------------- -| API Routes -|-------------------------------------------------------------------------- -| -| Here is where you can register API routes for your application. These -| routes are loaded by the RouteServiceProvider within a group which -| is assigned the "api" middleware group. Enjoy building your API! -| -*/ - -Route::middleware('auth:api')->get('/user', function (Request $request) { - return $request->user(); +Route::get('/users', function() { + return factory('App\User', 10)->make(); });