app/Http/Controllers/Admin/HomeController.php
/**
     * Show the form for editing the specified resource.
     *
     * @param  \App\Models\Setting  $home
     * @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)
    {
        $home     = Home::findOrFail(1);
        $data = compact('home');
        return view('backend.inc.home', $data);
    }
public function edit ( Request $ request ) { $ home = Home :: findOrFail ( 1 ) ; $ data = compact ( 'home' ) ; return view ( 'backend.inc.home' , $ data ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .