app/Http/Controllers/HomeController.php
/**
     * Show the application dashboard.
     *
     * @return \Illuminate\Contracts\Support\Renderable
     */
Show the application dashboard.
@return \Illuminate\Contracts\Support\Renderable
Show the application dashboard . @return \ Illuminate \ Contracts \ Support \ Renderable
public function index()
    {
        $user = Auth::user();
        return view('templates.welcome', compact('user'));
    }
public function index ( ) { $ user = Auth :: user ( ) ; return view ( 'templates.welcome' , compact ( 'user' ) ) ; }
Show the application dashboard.
Show the application dashboard .