You've already forked isop-mirror
refactor: get new possible states from backend instead of computing them on frontend
This commit is contained in:
@@ -34,6 +34,7 @@ Route::prefix('/internships')->group(function () {
|
||||
Route::get("/", [InternshipController::class, 'get'])->name("api.internships.get");
|
||||
Route::put("/status", [InternshipStatusController::class, 'update'])->name("api.internships.status.update");
|
||||
Route::get("/statuses", [InternshipStatusController::class, 'get'])->name("api.internships.get");
|
||||
Route::get("/next-statuses", [InternshipStatusController::class, 'get_next_states'])->name("api.internships.status.next.get");
|
||||
Route::post("/basic", [InternshipController::class, 'update_basic'])->name("api.internships.update.basic");
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user