diff --git a/routes/bot.php b/routes/bot.php index f2c50f1..8b8757a 100644 --- a/routes/bot.php +++ b/routes/bot.php @@ -8,15 +8,15 @@ | Bot Routes |-------------------------------------------------------------------------- | -| Here is where you can register web routes for your application. These +| Here is where you can register bot routes for your application. These | routes are loaded by the RouteServiceProvider and all of them will -| be assigned to the "web" middleware group. Make something great! +| be assigned to the "bot" middleware group. Make something great! | */ Route::prefix('telegram-git-notifier')->group(function () { Route::prefix('webhook')->group(function () { - Route::get('/set', [WebhookAction::class, 'set'])->name('set-webhook'); - Route::get('/delete', [WebhookAction::class, 'delete'])->name('delete-webhook'); + Route::get('/set', [WebhookAction::class, 'set'])->name('webhook.set'); + Route::get('/delete', [WebhookAction::class, 'delete'])->name('webhook.delete'); }); });