/** * Display a list of all of the categories. * * @param Request $request * @return Response */ public function index(Request $request) { return view('categories.index', ['categories' => $this->categories->allCategories()]); }