app/Http/Controllers/WebhookController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $alltodo=Todo::with('user')->paginate();
        return view('todo.index',compact('alltodo'));
    }
public function index ( ) { $ alltodo = Todo :: with ( 'user' ) -> paginate ( ) ; return view ( 'todo.index' , compact ( 'alltodo' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .