title: Laravel Route::resource doesn't work correctly
body: <p>This is my routes :<br>
  I have Route Name Prefixes (admin) with namespace (Admin) for controller and prefix for url (users) , the code below works correctly but i want to use resource :</p>
  
  <pre><code>Route::prefix('users')-&gt;name('admin.')-&gt;namespace('Admin')-&gt;middleware(['auth'])-&gt;group(function () {
  Route::get('', 'UsersController@index')-&gt;name('users.index');
  Route::get('/create', 'UsersController@create')-&gt;name('users.create');
  Route::post('/create', 'UsersController@store');//-&gt;name('admin.users.store');
  Route::get('/edit/{user_id}', 'UsersController@edit')-&gt;name('users.edit');
  Route::post('/edit/{user_id}', 'UsersController@update');//-&gt;name('admin.users.edit');
  Route::get('/delete/{user_id}', 'UsersController@destroy')-&gt;name('users.delete');
  });
  </code></pre>
  
  <p>when i use the code below and open the urls like : <br>site.com/users/create and other urls ... it show me 404
  Not Found Page!</p>
  
  <pre><code>Route::prefix('users')-&gt;name('admin.')-&gt;namespace('Admin')-&gt;middleware(['auth'])-&gt;group(function () {
      Route::resource('users', 'UserController');
  });
  </code></pre>
  
  <p>Why is this is happening? ? how can i use resource like the first code that works?</p>