app/Http/Controllers/HomeController.php
/**
     * Show the application dashboard.
     *
     * @return \Illuminate\Http\Response
     */
Show the application dashboard.
@return \Illuminate\Http\Response
Show the application dashboard . @return \ Illuminate \ Http \ Response
public function index()
    {
        $data['artikel'] = \App\Artikel::where('id_user',Auth::user()->id)->paginate(10);
        return view('welcome')->with($data);
    }
public function index ( ) { $ data [ 'artikel' ] = \ App \ Artikel :: where ( 'id_user' , Auth :: user ( ) -> id ) -> paginate ( 10 ) ; return view ( 'welcome' ) -> with ( $ data ) ; }
Show the application dashboard.
Show the application dashboard .