title: Why does the route name products not work?
body: <p>I use Laravel with Vue.</p>
  <p>I added the following route:</p>
  <p><code>Route::patch('/products/updateOrder', 'Product\ProductController@updateOrder')-&gt;name('updateOrder');</code></p>
  <p>I added it in the block:</p>
  <pre><code>    Route::group([ 'namespace' =&gt; 'App\Http\Controllers\Api\BasicData', 'prefix' =&gt; 'basicData', 'middleware' =&gt; ['role:basicDataAdmin']], function () {
          Route::patch('/products/updateOrder', 'Product\ProductController@updateOrder')-&gt;name('updateOrder');
          Route::get('/products/{product}/productProcesses', 'Product\ProductProcessController@index');
          Route::get('/products/{product}/productProcesses/{process}', 'Product\ProductProcessController@show');
          Route::post('/products/{product}/productProcesses/{process}', 'Product\ProductProcessController@store');
          Route::put('/products/{product}/productProcesses/{process}', 'Product\ProductProcessController@update');
          Route::delete('/products/{product}/productProcesses/{process}', 'Product\ProductProcessController@destroy');
          Route::resource('/products', 'Product\ProductController')-&gt;except(['updateOrder']);
          Route::resource('/workplaces', 'Workplace\WorkplaceController');
          Route::resource('/partNames', 'PartName\PartNameController');
          Route::resource('/processes', 'Process\ProcessController');
      });
  </code></pre>
  <p><a href="https://i.stack.imgur.com/kfhrz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kfhrz.png" alt="enter image description here" /></a></p>
  <p>I get the following error:</p>
  <p><code>&quot;message&quot;: &quot;No query results for model [App\\Models\\BasicData\\Product\\Product] updateOrder&quot;,</code></p>
  <p>Update order function:</p>
  <pre><code>    public function updateOrder(Request $request)
      {
          Product::setNewOrder($request-&gt;productIds);
      }
  </code></pre>
  <p>I tried to change the order of the routes. Same problem.</p>
  <p>When i add an <code>x</code> to the name like this <code>Route::patch('/productsx/updateOrder'</code> it works.</p>
  <p>I thought that it's the order of the routes. But it isn't.</p>
  <p>Is the only way to solve it to change the name <code>products</code>?</p>