* #118 - wip * #118 - keys * #118 - fix * #118 - fix menu * #118 - fix to policies and added translations * #118 - wip * #118 - tests * #118 - fix * #118 - fix * #118 - fix * Update resources/lang/pl.json Co-authored-by: Ewelina Lasowy <56546832+EwelinaLasowy@users.noreply.github.com> * #118 - cr fix Co-authored-by: EwelinaLasowy <ewelina.lasowy@blumilk.pl> Co-authored-by: Ewelina Lasowy <56546832+EwelinaLasowy@users.noreply.github.com>
This commit is contained in:
@@ -7,6 +7,7 @@ use Toby\Infrastructure\Http\Controllers\AnnualSummaryController;
|
||||
use Toby\Infrastructure\Http\Controllers\DashboardController;
|
||||
use Toby\Infrastructure\Http\Controllers\GoogleController;
|
||||
use Toby\Infrastructure\Http\Controllers\HolidayController;
|
||||
use Toby\Infrastructure\Http\Controllers\KeysController;
|
||||
use Toby\Infrastructure\Http\Controllers\LogoutController;
|
||||
use Toby\Infrastructure\Http\Controllers\MonthlyUsageController;
|
||||
use Toby\Infrastructure\Http\Controllers\SelectYearPeriodController;
|
||||
@@ -33,7 +34,13 @@ Route::middleware(["auth", TrackUserLastActivity::class])->group(function (): vo
|
||||
->except("show")
|
||||
->whereNumber("holiday");
|
||||
|
||||
Route::post("year-periods/{yearPeriod}/select", SelectYearPeriodController::class)
|
||||
Route::get("/keys", [KeysController::class, "index"]);
|
||||
Route::post("/keys", [KeysController::class, "store"]);
|
||||
Route::delete("/keys/{key}", [KeysController::class, "destroy"]);
|
||||
Route::post("/keys/{key}/take", [KeysController::class, "take"]);
|
||||
Route::post("/keys/{key}/give", [KeysController::class, "give"]);
|
||||
|
||||
Route::post("/year-periods/{yearPeriod}/select", SelectYearPeriodController::class)
|
||||
->whereNumber("yearPeriod")
|
||||
->name("year-periods.select");
|
||||
|
||||
|
Reference in New Issue
Block a user