public function browseIngredients() { $ingredients = \App\Ingredient::has('recipes')->orderBy('name')->distinct()->get(); return view('show')->with('ingredients', $ingredients); }