chore: finalize project updates
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user