public function showOne(Agent $agent) { //Update view count $agent->addView(); return view('agents.show', compact('agent')); }