app/Http/Controllers/Admin/generalsettingsController.php
/**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
Show the form for creating a new resource.
@return \Illuminate\Http\Response
Show the form for creating a new resource . @return \ Illuminate \ Http \ Response
public function create()
    {
        $general = GeneralSetting::where('user_id','=',Auth::user()->id)->first();
        return view('Admin.Settings.General Settings.generalform',compact('general'));
    }
public function create ( ) { $ general = GeneralSetting :: where ( 'user_id' , '=' , Auth :: user ( ) -> id ) -> first ( ) ; return view ( 'Admin.Settings.General Settings.generalform' , compact ( 'general' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .