Ejemplo n.º 1
0
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     // get all the notes
     $notes = Notes::all();
     // load the view and pass the notes
     return View::make('notes.index')->with('notes', $notes);
 }