public function getArticle($id = null) { try { if (empty($id)) { throw new Exception("Error request [10]"); } $articles = \BeautyNews::where('status', '=', '1')->where('id', '=', $id)->get(); if ($articles == null) { throw new Exception("Error request [11]"); } return \View::make('aesthetics.beautyNews.view_index', array('articles' => &$articles, 'bodyId' => 'beautyNews')); } catch (Exception $e) { return \Response::route('frontend.beautynes.list'); } }