/** * Show the form for editing the department information * * @param String $departmentID * @return View */ public function edit($departmentID) { $department = $this->departments->getDepartmentByGeneratedID($departmentID); $members = $department->employees; return View::make('admin.edit.department', ['pageTitle' => 'Edit Department Information'], compact('department', 'members')); }