app/Http/Controllers/TaskController.php
/**
     * Display a list of all of the user's task.
     *
     * @param  Request  $request
     * @return Response
     */
Display a list of all of the user's task.
@param  Request  $request
@return Response
Display a list of all of the user ' s task . @param Request $request @return Response
public function index()
    {
        $tasks = Task::All();
        return view('tasks.index')->withTasks($tasks);
    }
public function index ( ) { $ tasks = Task :: All ( ) ; return view ( 'tasks.index' ) -> withTasks ( $ tasks ) ; }
Display a list of all of the user's task.
Display a list of all of the user ' s task .