This commit is contained in:
EwelinaLasowy
2022-02-04 08:42:18 +01:00
parent 067b343f24
commit fccf5e97f1
6 changed files with 403 additions and 2 deletions

View File

@@ -3,6 +3,7 @@
declare(strict_types=1);
use Illuminate\Support\Facades\Route;
use Toby\Infrastructure\Http\Controllers\GeneratePdfController;
use Toby\Infrastructure\Http\Controllers\GoogleController;
use Toby\Infrastructure\Http\Controllers\HolidayController;
use Toby\Infrastructure\Http\Controllers\LogoutController;
@@ -44,6 +45,8 @@ Route::middleware("auth")->group(function (): void {
Route::post("year-periods/{yearPeriod}/select", SelectYearPeriodController::class)
->name("year-periods.select");
Route::get("/generate-pdf", [GeneratePdfController::class, "generatePDF"]);
});
Route::middleware("guest")->group(function (): void {