public function showCategory($id) { $category = $this->category->getById($id); return redirect('/categories')->with('default', $category); }