title: Soft delete still being shown in view laravel
body: <p>for some reason when I try to do a soft delete on my data, they didn't disappear in my view(home.blade.php) but inside my database, the deleted_at column has been recorded showing the date when I delete it. Could you help me check my code is there any problem with it, thank you</p>
  
  <p>Here are my codes:</p>
  
  <p>home.blade.php</p>
  
  <pre><code> &lt;table class="table table-bordered"&gt;
        &lt;tr&gt;
          &lt;th&gt;&lt;strong&gt;&lt;big&gt;Name: &lt;/big&gt;&lt;/strong&gt;&lt;/th&gt;
          &lt;th&gt;&lt;strong&gt;&lt;big&gt;Action &lt;/big&gt;&lt;/strong&gt;&lt;/th&gt;
        &lt;/tr&gt;
        &lt;td&gt;
        &lt;tr&gt;
          @foreach($data as $value)
        &lt;tr&gt;     
        &lt;th&gt;&lt;a href="{{route('user.show',['id'=&gt;$value-&gt;id])}}"&gt;{{$value-&gt;Name}}&lt;/a&gt;&lt;/th&gt;
        &lt;th&gt;&lt;form action="{{  url('/home/'.$value-&gt;id.'/delete')  }}" method="get"&gt;
          {{ csrf_field() }}
          &lt;button type="submit"&gt;Delete&lt;/button&gt;
        &lt;/form&gt;&lt;/th&gt;               
        &lt;/tr&gt;
          @endforeach
        &lt;/tr&gt;
        &lt;/tr&gt;
      &lt;/table&gt;
  </code></pre>
  
  <p>HomeController:</p>
  
  <pre><code>    public function getData(){
          $data['data'] = DB::table('personal_infos')-&gt;get()-&gt;sortByDesc('created_at');
  
          if(count($data)&gt;0){
          return view('home',$data);
      }else{
      return view('home');
  }
  
  public function delete($id){   
      personal_info::findOrFail($id)-&gt;delete();
      return back();
  }
  </code></pre>
  
  <p>Route:</p>
  
  <pre><code>Route::get('/home/{id}/delete', 'HomeController@delete');
  Route::get('user/show/{id}','HomeController@getInfo')-&gt;name("user.show");
  </code></pre>
  
  <p>Personal_info model:</p>
  
  <pre><code>use Illuminate\Database\Eloquent\Model;
  use Illuminate\Database\Eloquent\SoftDeletes;
  use Eloquent;
  
  class personal_info extends Eloquent
  {
      use SoftDeletes;
      protected $fillable = array('Name');
      protected $table = 'personal_infos';
      protected $primaryKey = 'id';
      protected $dates = ['deleted_at'];
          public function user_info1s() {
          return $this-&gt;hasMany('App\user_info1','user_id');
      }
  </code></pre>