11 lines
268 B
PHP
11 lines
268 B
PHP
<?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}$',
|
|
]);
|