From bee35dc9f6d1f0e514e0d2fafd0aaa8b258c90bb Mon Sep 17 00:00:00 2001 From: dozer111 Date: Fri, 17 Aug 2018 15:58:03 +0300 Subject: [PATCH] Remove site/about --- common/messages/ru/app.php | 2 +- frontend/config/main.php | 3 ++- frontend/controllers/SiteController.php | 15 +++------------ frontend/views/layouts/main.php | 9 +++++---- frontend/views/site/about.php | 89 ----------------------------------------------------------------------------------------- 5 files changed, 11 insertions(+), 107 deletions(-) delete mode 100755 frontend/views/site/about.php diff --git a/common/messages/ru/app.php b/common/messages/ru/app.php index 30857d3..c56de6e 100644 --- a/common/messages/ru/app.php +++ b/common/messages/ru/app.php @@ -51,7 +51,7 @@ return [ 'Buy' =>'Купить', 'Contacts' =>'Контакты', - + 'Our doctors' => 'Наши врачи', 'Label' =>'Название', 'ours clients' =>'наших клиентов', diff --git a/frontend/config/main.php b/frontend/config/main.php index 06abf2d..01baa10 100755 --- a/frontend/config/main.php +++ b/frontend/config/main.php @@ -196,7 +196,8 @@ use common\models\Settings; }', ], - 'questions' => [ + + 'questions' => [ 'class' => 'artbox\core\forms\Module', 'activeRecord' => "common\models\Question", 'attributes' => [ diff --git a/frontend/controllers/SiteController.php b/frontend/controllers/SiteController.php index be26498..acd8d23 100755 --- a/frontend/controllers/SiteController.php +++ b/frontend/controllers/SiteController.php @@ -147,18 +147,9 @@ ] ); } - - /** - * Displays about page. - * - * @return mixed - */ - public function actionAbout() - { - return $this->render('about'); - } - - /** + + + /** * Action to view robots.txt file dinamycli * * @return string diff --git a/frontend/views/layouts/main.php b/frontend/views/layouts/main.php index cb6d8e2..a9b45a7 100755 --- a/frontend/views/layouts/main.php +++ b/frontend/views/layouts/main.php @@ -285,8 +285,8 @@