tgbot page fix
This commit is contained in:
parent
ffd30ca370
commit
79ed17baa4
@ -9,7 +9,7 @@ App::$collector->group(["prefix" => "admin"], function (CgRouteCollector $router
|
||||
App::$collector->group(["before" => "auth"], function (RouteCollector $router) {
|
||||
App::$collector->group(["prefix" => "tg-bot"], function (CGRouteCollector $router) {
|
||||
App::$collector->get('/', [\app\modules\tgbot\controllers\TgbotController::class, 'actionIndex']);
|
||||
App::$collector->get('/page/{page_number}', [\app\modules\tag\controllers\TagController::class, 'actionIndex']);
|
||||
App::$collector->get('/page/{page_number}', [\app\modules\tgbot\controllers\TgbotController::class, 'actionIndex']);
|
||||
App::$collector->get('/create', [\app\modules\tgbot\controllers\TgbotController::class, 'actionCreate']);
|
||||
App::$collector->post("/", [\app\modules\tgbot\controllers\TgbotController::class, 'actionAdd']);
|
||||
App::$collector->get('/view/{id}', [\app\modules\tgbot\controllers\TgbotController::class, 'actionView']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user