Example #1
0
 /**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function index()
 {
     // $notes=Note::all();
     $notes = Note::paginate(20);
     return view('notes/list', compact('notes'));
 }
Example #2
0
 public function index()
 {
     $notes = \App\Note::paginate(6);
     return view('home', compact('notes'));
 }
Example #3
0
 public function index()
 {
     $notes = Note::paginate(20);
     return view('mod.index', compact('notes'));
 }