app/Http/Controllers/Admin/HomeController.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()
    {
        $title = "Admin Area";
        return view('admin.home')->with('title',$title);
    }
public function index ( ) { $ title = " Admin Area " ; return view ( 'admin.home' ) -> with ( 'title' , $ title ) ; }
Display a listing of the resource.
Display a listing of the resource .