I have defined a route in the Laravel web routes file:
// Rutas para el Product
Route::resource('product', 'ProductController');
Route::get('/product/download', 'ProductController@download')->name('product.download');
The download method if it exists on the controller:
But when I try to access the path with name product.download it throws me the path error 404 not found.
What could be the problem?