public function index()
    {
        $userData = Auth::guard('canvas')->user()->toArray();
        $blogData = config('blog');
        $data = array_merge($userData, $blogData);

        return view('canvas::backend.profile.index', compact('data'));
    }
public function index()
    {
        $userData = Auth::guard('canvas')->user()->toArray();
        $blogData = config('blog');
        $data = array_merge($userData, $blogData);

        return view('canvas::backend.profile.index', compact('data'));
    }
public function index ( ) { $ userData = Auth :: guard ( 'canvas' ) -> user ( ) -> toArray ( ) ; $ blogData = config ( 'blog' ) ; $ data = array_merge ( $ userData , $ blogData ) ; return view ( 'canvas::backend.profile.index' , compact ( 'data' ) ) ; }
Display the user profile page.

@return \Illuminate\View\View
Display the user profile page .