Beispiel #1
0
 public function getUrlShow($id)
 {
     $category = Category::findOrFail($id);
     return route('category.show', $category->slug);
 }