app/Http/Controllers/PagesController.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()
    {
        self::$viewData["pages"] = Navigation::all();
        self::$viewData["pageTitle"] .= 'Pages';
        return view('admin.pages', self::$viewData);
    }
public function index ( ) { self :: $ viewData [ " pages " ] = Navigation :: all ( ) ; self :: $ viewData [ " pageTitle " ] .= 'Pages' ; return view ( 'admin.pages' , self :: $ viewData ) ; }
Display a listing of the resource.
Display a listing of the resource .