app/Http/Controllers/NewsController.php
/**
     * Show the form for editing the specified resource.
     *
     * @param  \App\Models\News  $news
     * @return \Illuminate\Http\Response
     */
Show the form for editing the specified resource.
Show the form for editing the specified resource .
public function edit($id)
    {
        $new = News::findOrFail($id);
        return view('backend.news.form', $this->data($new));
    }
public function edit ( $ id ) { $ new = News :: findOrFail ( $ id ) ; return view ( 'backend.news.form' , $ this -> data ( $ new ) ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .