예제 #1
0
 /**
  *  Displays a list of all notes
  *
  *  @return  Illuminate\Http\Response
  */
 public function index()
 {
     // For index output a list of all notes
     // views/notes/list.blade.php
     $notes = Note::get(['title', 'id']);
     return view('notes.list', ['notes' => $notes]);
 }