title: Laravel resourceful route error
body: <p>I get a resourceful route error which I can't comprehend.. so basically in my routes file this works :</p>
  
  <pre><code>Route::get('siswa', 'SiswaCont@index');
  Route::get('siswa/create', 'SiswaCont@create');
  Route::post('siswa', 'SiswaCont@store');
  Route::get('siswa/{id}', 'SiswaCont@show');
  Route::get('siswa/{id}/edit', 'SiswaCont@edit');
  Route::patch('siswa/{id}', 'SiswaCont@update');
  Route::delete('siswa/{id}', 'SiswaCont@destroy');
  </code></pre>
  
  <p>But when I changed it into one-line resource :</p>
  
  <pre><code>Route::resource('siswa', 'SiswaCont');
  </code></pre>
  
  <p>It produces NotFoundHttpException in Handler.php line 103 error, No query results for model [App\Siswa].</p>
  
  <p>Anyone know how to fix this?</p>