/** * Display the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function show($code) { if (Gate::denies('show-stakeholder')) { abort(403); } $stakeholder = Stakeholder::getByPublicCode($code); return $this->edit($stakeholder); }