From dcbd468808733cc74d0b5e26974bca4f0b4e1e52 Mon Sep 17 00:00:00 2001 From: marina Date: Thu, 4 Jul 2024 12:53:43 +0300 Subject: [PATCH] =?utf8?q?=D0=A3=D0=B1=D1=80=D0=B0=D1=82=D1=8C=20=D0=B4?= =?utf8?q?=D0=BE=D1=81=D1=82=D1=83=D0=BF=20=D0=BF=D0=BE=20=D1=81=D1=81?= =?utf8?q?=D1=8B=D0=BB=D0=BA=D0=B5=20=D0=BA=20/timetable/index?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/controllers/TimetableController.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/erp24/controllers/TimetableController.php b/erp24/controllers/TimetableController.php index 491387c0..82ec2765 100755 --- a/erp24/controllers/TimetableController.php +++ b/erp24/controllers/TimetableController.php @@ -18,7 +18,12 @@ class TimetableController extends \yii\web\Controller public function actions() { return [ - 'index' => \yii_app\actions\timetable\IndexAction::class, + /** + * Убираем доступ по ссылке к /timetable/index, так как со стороны меню никто не может достучаться до этой страницы. + * Смысла в ней по идее нет. + * Согласовано с Галиной + */ +// 'index' => \yii_app\actions\timetable\IndexAction::class, 'add' => \yii_app\actions\timetable\AddAction::class, 'plan' => \yii_app\actions\timetable\PlanAction::class, 'edit_plan' => \yii_app\actions\timetable\EditPlanAction::class, -- 2.39.5