This commit is contained in:
10
api/routes/geral/diferenca-tempo.php
Normal file
10
api/routes/geral/diferenca-tempo.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
use App\Http\Controllers\Geral\DiferencaTempoController;
|
||||
|
||||
Route::get('diferenca-tempo/{year}/{month}/{day}', [DiferencaTempoController::class, 'calc'])
|
||||
->where([
|
||||
'year' => '^\d{4}$',
|
||||
'month' => '^\d{2}$',
|
||||
'day' => '^\d{2}$',
|
||||
]);
|
||||
Reference in New Issue
Block a user