src/Http/Controllers/SentController.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()
    {
        $user = auth()->user();
        $threads = $user->sent();
        $threads = $threads->paginate(config('inbox.paginate', 10));
        return view('inbox::index', compact('threads'));
    }
public function index ( ) { $ user = auth ( ) -> user ( ) ; $ threads = $ user -> sent ( ) ; $ threads = $ threads -> paginate ( config ( 'inbox.paginate' , 10 ) ) ; return view ( 'inbox::index' , compact ( 'threads' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .