Build & Deploy / build (push) Successful in 18s
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
14 lines
490 B
PHP
14 lines
490 B
PHP
<?php
|
|
|
|
use Functional\Routines\Http\Controllers\RoutinesController;
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
// Routes here are wrapped in the 'api' middleware group with the 'api'
|
|
// prefix by the layer service provider. To version your endpoints
|
|
// (/api/v1/...), nest Route::prefix('v1')->group(...) inside.
|
|
|
|
// Scopées à l'utilisateur authentifié (auth()->id()).
|
|
Route::middleware('auth:sanctum')->group(function () {
|
|
Route::apiResource('routines', RoutinesController::class);
|
|
});
|