/** * Display the specified resource. * * @param int $id * @return Response */ public function show($id) { $headline = Headline::where('uid', $id)->first(); if ($headline) { return view('headline', ['headline' => $headline]); } return Redirect::home(); }