app/Http/Controllers/Admin/SettingController.php
/**
     * Show the form for editing the specified resource.
     *
     * @param  \App\Models\Setting  $setting
     * @return \Illuminate\Http\Response
     */
Show the form for editing the specified resource.
Show the form for editing the specified resource .
public function edit(Request $request)
    {
        $setting     = Setting::findOrFail(1);
        $data = compact('setting');
        return view('backend.inc.settings', $data);
    }
public function edit ( Request $ request ) { $ setting = Setting :: findOrFail ( 1 ) ; $ data = compact ( 'setting' ) ; return view ( 'backend.inc.settings' , $ data ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .