/** * @return mixed */ public function index() { $departments = $this->department->all(); $file = $this->file; return view('staff.index', compact('departments', 'file')); }
/** * Display a listing of the resource. * * @return Response */ public function index() { $departments = $this->department->all(); return view('staff::admin.departments.index', compact('departments')); }