title: Laravel: Soft Delete an item
body: <p>I would like to delete an item only on my page "overview" however I will wish to keep the element on my database.  Is it possible ?</p>
  
  <p>Do you have an idea of the procedure ?</p>
  
  <p>I don't know how to do softdelete, in my Controller I have that</p>
  
  <pre><code>public function destroy(Devis $devis)
       {
           $devis-&gt;delete();
           return redirect('/admin');
       }
  </code></pre>
  
  <p>In my route I have that </p>
  
  <pre><code>Route::group(['middleware' =&gt; ['auth']], function () {
      Route::get('/admin', 'AdminController@getHome');
      Route::get('/valider/{devis}', 'AdminController@destroy');
  });
  </code></pre>
  
  <p>In my file overview I have that </p>
  
  <pre><code>@foreach($devis as $item)
                  &lt;tr&gt;
                     &lt;td&gt; {{$item-&gt;firstname}}&lt;/td&gt;
                     &lt;td&gt; {{$item-&gt;lastname}} &lt;/td&gt;
                     &lt;td&gt; {{$item-&gt;phone}} &lt;/td&gt;
                     &lt;td&gt; {{$item-&gt;start_adress}} --  {{$item-&gt;start_floor}}&lt;/td&gt;
                     &lt;td&gt; {{$item-&gt;end_adress}} --  {{$item-&gt;end_floor}}&lt;/td&gt;
                     &lt;td&gt; {{$item-&gt;type_intervention}}&lt;/td&gt;
                     &lt;td&gt; {{$item-&gt;email}} &lt;/td&gt;
                     &lt;td&gt; {{$item-&gt;remarks}} &lt;/td&gt;
                     &lt;td&gt; &lt;a href="/valider/{{$item-&gt;id}}" class="btn btn-danger"&gt;&lt;span class="left ion-close"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;
                  &lt;/tr&gt;
                @endforeach
  </code></pre>