public function all() { $pages = $this->pagesRepository->published(); if (empty($pages)) { abort(404); } return view('quarx-frontend::pages.all')->with('pages', $pages); }