resources/views/update/controller/SiteConfigController.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()
    { 
        $data = SiteConfig::findOrFail(1);
        return view('admin.siteConfig.index')->with('data',$data);
    }
public function index ( ) { $ data = SiteConfig :: findOrFail ( 1 ) ; return view ( 'admin.siteConfig.index' ) -> with ( 'data' , $ data ) ; }
Display a listing of the resource.
Display a listing of the resource .