0

エラー Symfony\Component\Routing\Exception\RouteNotFoundException がポップアップし、

それでも、私はこの名前付きルートを持っています...

/* ADMIN SECTION */
Route::prefix('admin')->name('admin/')->group(function () {
    Route::group(['middleware' => ['auth']], function(){
        Route::get('fill_contraband', 'ContrabandController@fillContraband');
        
        Route::get('/', function(){ return dashboard(); });
        
        Route::get('dashboard', function(){ return dashboard(); });
        
            Route::name('users.')->group(function() {
            Route::get('users', 'gameUserController@showUserList');
            Route::get('users/create', 'gameUserController@createUser');
            Route::post('users/create', 'gameUserController@handleCreateUser');
            Route::get('users/edit/{id}', 'gameUserController@editUser');
            Route::post('users/edit/{id}', 'gameUserController@handleEditUser');
            Route::get('users/delete/{id}', 'gameUserController@deleteUser');
            Route::get('users/bulk_create', 'GameUserBulkUploadController@index');
            Route::post('users/bulk_create/import', 'GameUserBulkUploadController@importGameUsers');
            Route::post('users/bulk_create/do_import', 'GameUserBulkUploadController@executeImportGameUsers');
            Route::get('users/edit_score/{id}', 'gameUserController@editScore');
            Route::post('users/edit_score/{id}', 'gameUserController@handleEditScore');
            Route::post('users/sendBulkEmail', 'gameUserController@sendBulkEmail')->name('sendBulkEmail');
        });

ビューから参照するために、名前付きルート「sendBulkEmail」を使用している最後のルートです。

<form method="POST" action="{{ route('sendBulkEmail') }}">

私は何を間違っていますか??

4

0 に答える 0