Ejemplo n.º 1
0
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     $todo_lists = TodoList::all();
     return View::make('todos.index')->with('todo_lists', $todo_lists);
 }
Ejemplo n.º 2
0
 /**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function index()
 {
     $todoLists = TodoList::all();
     return view('TodoList', ['todoLists' => $todoLists, 'title' => 'TodoList']);
 }
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     //$todo_lists = TodoList::all();
     $todo_lists = TodoList::all();
     return view('todos.index')->with('todo_lists', $todo_lists);
 }
 /**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function index()
 {
     $todo_lists = \App\TodoList::all();
     return view('todos.index')->with("todo_lists", $todo_lists);
 }