chore: finalize project updates

This commit is contained in:
2026-08-22 11:42:16 +03:30
parent 7719d750e9
commit 691290c340
55 changed files with 1923 additions and 6498 deletions
@@ -78,9 +78,7 @@ class FlightController extends Controller
return view('admin.flights.show', compact('flight'));
}
/**
* نمایش فرم ویرایش پرواز
*/
public function edit(Flight $flight)
{
abort_unless(auth('admin')->user()?->canManageFlights('update'), 403);
@@ -90,9 +88,7 @@ class FlightController extends Controller
return view('admin.flights.edit', compact('flight', 'travelTypes'));
}
/**
* بروزرسانی پرواز
*/
public function update(FlightUpdateRequest $request, Flight $flight)
{
abort_unless(auth('admin')->user()?->canManageFlights('update'), 403);