protected function getRecipe() { $slug = $this->property('slug'); return RecipeModel::with('course', 'tools', 'ingredients')->where('slug', $slug)->first(); }
protected function listRecipes() { return Recipe::with('course')->paginate($this->page['recipesPerPage']); }
protected function listRecipes() { return Recipe::with('course')->paginate(5); }