Esempio n. 1
0
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     $cookbooks = Cookbook::with('owner')->orderBy('title')->orderBy('id')->paginate(self::$per_page);
     return view('cookbooks.index')->withCookbooks($cookbooks);
 }