/** * Display a listing of the resource. * * @return Response */ public function index() { $articles = $this->_searchQuery(Article::where('deleted_at', '=', null))->paginate(20); $context = ['articles' => $articles]; return \View::make('Admin.Article.index', $context); }