title: Edit page show blank in laravel
body: <p>I have news details inserted and i need to show it on the edit page but when i try to edit and delete  it shows blanks page insert and show is working properly. i have been stucked on this from morning. id is getting from the database but it shows a blank page,Not using any Form helper </p>
  
  <p>1.what's problem,is it on route file 
    2.is it on Controller file</p>
  
  <p>route.php</p>
  
  <p>
  
  <pre><code>Route::get('/', function () {
      return view('welcome');
  });
  
  Route::resource('books','BookController');
  Route::resource('news','NewsController');
  
  Auth::routes();
  
  Route::get('/news','NewsController@index')-&gt;name('news');
  //Route::get('/news/create','NewsController@create');
  //Route::get('/news/edit','NewsController@edit');
  </code></pre>
  
  <p>Edit.blade.php</p>
  
  <pre><code> @extends('theme.default')
  
  @section('content')
      &lt;div class="row"&gt;
          &lt;div class="col-lg-12"&gt;
              &lt;div class="panel panel-default"&gt;
                  &lt;div class="panel-heading"&gt;
                      NEW BEE NEWS DETAILS
                  &lt;/div&gt;
                  &lt;div class="panel-body"&gt;
                      &lt;div class="row"&gt;
                          &lt;div class="col-sm-12"&gt;
                              &lt;form method="post" action="{{route('news.update',[$news-&gt;id])}}"
                                    enctype="multipart/form-data"&gt;
                                  {{csrf_field()}}
                                  &lt;input type="hidden" name="_method" value="put"&gt;
                                  &lt;div class="form-group"&gt;
                                      &lt;label&gt;NEWS TITLE&lt;/label&gt;
                                      &lt;input type="text" name="atitle" id="atitle" class="form-control"
                                             placeholder="PLEASE ADD TITLE OF NEWS" value="{{$news-&gt;name}}"&gt;
                                      &lt;p class="help-block"&gt;Example: SELFY PLAYSHARE &lt;/p&gt;
                                  &lt;/div&gt;
                                  &lt;div class="form-group"&gt;
                                      &lt;label&gt;NEWS&lt;/label&gt;
                                      &lt;textarea name="news" id="news" class="form-control" {{$news-&gt;news}}&gt;&lt;/textarea&gt;
                                      &lt;p class="help-block"&gt;DETAILED NEWS HERE&lt;/p&gt;
                                  &lt;/div&gt;
                                  &lt;div class="form-group"&gt;
                                      &lt;label&gt;NEWS LINK&lt;/label&gt;
                                      &lt;input type="text" name="alink" id="alink" class="form-control"
                                             placeholder="PLEASE ADD LINK OF NEWS" value="{{$news-&gt;alink}}"&gt;
                                      &lt;p class="help-block"&gt;Example: https://play.google.com/store/apps/selfyplusure&lt;/p&gt;
                                  &lt;/div&gt;
  
                                  &lt;div class="form-group"&gt;
                                      &lt;label&gt;NEWS IMAGE&lt;/label&gt;
                                      &lt;input type="file" name="addimage" id="addimage" value="{{$news-&gt;imagename}}"&gt;
                                  &lt;/div&gt;
  
                                  &lt;button type="submit" class="btn btn-default"&gt;ADD NEWS&lt;/button&gt;
  
                              &lt;/form&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  @endsection
  </code></pre>
  
  <p>NewsController.php</p>
  
  <pre><code>    &lt;?php
  
  namespace App\Http\Controllers;
  use Illuminate\Support\Facades\Auth;
  
  use App\News;
  use Illuminate\Http\Request;
  
  class NewsController extends Controller
  {
  
      public function index()
      {
          $news = News::all();
          return view('news.index', ['news' =&gt; $news]);
      }
  
  
      public function create()
      {
          return view('news.create');
      }
  
  
      public function store(Request $request)
      {
  
              $news=new News();
  
              if($request-&gt;hasFile('addimage')){
  
                  $request-&gt;file('addimage');
                  $imagename=$request-&gt;addimage-&gt;store('public\newsimage');
                  $news-&gt;name = $request-&gt;input('atitle');
                  $news-&gt;alink = $request-&gt;input('alink');
                  $news-&gt;news = $request-&gt;input('news');
                  $news-&gt;imagename = $imagename;
                  $news-&gt;save();
                  if($news) {
  
                      return $this-&gt;index();
  
  
  
                  }   }
              else{
                  return back()-&gt;withInput()-&gt;with('error', 'Error Creating News ');
              }
  
  
      }
  
  
      public function show(News $news)
      {
          //
      }
  
  
      public function edit(News $news)
      {
          $news=News::findOrFail($news-&gt;id);
          return view('news.edit',['News'=&gt;$news]);
      }
  
  
      public function update(Request $request, $id)
      {
          $news = News::findOrFail($id);
          // update status as 1
          $news-&gt;status = '1';
          $news-&gt;save();
          if ($news) {
              // insert datas as new records
              $newss = new News();
              //On left field name in DB and on right field name in Form/view
              $newss-&gt;name = $request-&gt;input('atitle');
              $newss-&gt;alink = $request-&gt;input('alink');
              $newss-&gt;news = $request-&gt;input('news');
              $newss-&gt;imagename = $request-&gt;input('addimage');
              $newss-&gt;save();
              if ($newss) {
                  return $this-&gt;index();
  
              }
          }
      }
  
  
      public function destroy($id)
      {
          $news = News::findOrFail($id);
          $news-&gt;status = '-1';
          $news-&gt;save();
          if ($news) {
              return $this-&gt;index();
          }
          else{
              return $this-&gt;index();
          }
      }
  }
  </code></pre>
  
  <p>Link to delete and Edit</p>
  
  <pre><code> &lt;td&gt;&lt;a href="/news/{{$news-&gt;id}}"&gt;&lt;input type="button" name="edit" value="EDIT"&gt; &lt;/a&gt;
    &lt;td&gt;&lt;a href="/news/{{$news-&gt;id}}"&gt;&lt;input type="button" name="delete" value="DELETE"&gt;&lt;/a&gt;&lt;/td&gt;
  </code></pre>