mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-02-08 20:49:10 -06:00
refactor: miscellaneous staff controller refactors
This commit is contained in:
@@ -66,9 +66,9 @@ class ChatStatusController extends Controller
|
||||
*/
|
||||
public function edit(int $id): \Illuminate\Contracts\View\Factory|\Illuminate\View\View
|
||||
{
|
||||
$chatstatus = ChatStatus::findOrFail($id);
|
||||
|
||||
return view('Staff.chat.status.edit', ['chatstatus' => $chatstatus]);
|
||||
return view('Staff.chat.status.edit', [
|
||||
'chatstatus' => ChatStatus::findOrFail($id),
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user