2016-09-06 16:40:39 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
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!
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2017-03-03 14:23:56 +00:00
|
|
|
/*Route::middleware('auth:api')->get('/user', function (Request $request) {
|
2016-09-06 16:40:39 +01:00
|
|
|
return $request->user();
|
2017-03-03 14:23:56 +00:00
|
|
|
});*/
|