public function show($id) { $curr['name'] = $this->crumb['show']['name']; $curr['url'] = $this->crumb['show']['url']; $result = ['data' => WorksModel::find($id), 'model' => $this->model, 'crumb' => $this->crumb, 'curr' => $curr]; return view('admin.works.show', $result); }