app/Http/Controllers/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(Setting $setting)
    {
    }
public function edit ( Setting $ setting ) { }
Show the form for editing the specified resource.
Show the form for editing the specified resource .
// Setting::truncate(); // $data = $setting->all(); // if (Setting::create($data)) { // return redirect('settings')->withMessage('Settings Updated'); // } // return redirect('settings')->withMessage('Error while updating');