/** * Display a list of all of the user's task. * * @return \Illuminate\Http\Response */ public function index() { $tasks = $this->tasks->all(); return view('tasks.index', compact('tasks')); }
/** * Display a list of all of the user's task. * * @return \Illuminate\Http\Response */ public function index() { $tasks = $this->tasks->all(); return view('tasks.index', compact('tasks')); }