Commit aaea3661002ae4fdb3899cc40aaa3a098fa27c15
1 parent
ead33976
123
Showing
2 changed files
with
9 additions
and
0 deletions
Show diff stats
src/app/frontend/controllers/PageController.php
| @@ -1416,6 +1416,9 @@ class PageController extends \controllers\ControllerBase | @@ -1416,6 +1416,9 @@ class PageController extends \controllers\ControllerBase | ||
| 1416 | public function aboutuaAction(){ | 1416 | public function aboutuaAction(){ |
| 1417 | $this->view->setMainView('about_ukr'); | 1417 | $this->view->setMainView('about_ukr'); |
| 1418 | } | 1418 | } |
| 1419 | + public function aboutuaAction(){ | ||
| 1420 | + $this->view->setMainView('about_eng'); | ||
| 1421 | + } | ||
| 1419 | 1422 | ||
| 1420 | public function compareItemsAction( $url, $subtype, $compare_ids) | 1423 | public function compareItemsAction( $url, $subtype, $compare_ids) |
| 1421 | { | 1424 | { |
www/index.php
| @@ -1758,6 +1758,12 @@ try | @@ -1758,6 +1758,12 @@ try | ||
| 1758 | 'action' => 'aboutua',] | 1758 | 'action' => 'aboutua',] |
| 1759 | ) | 1759 | ) |
| 1760 | ->setName( 'aboutua' ); | 1760 | ->setName( 'aboutua' ); |
| 1761 | + $router->add | ||
| 1762 | + ('/about-company-1{language:([/][a-z]{2})?}', | ||
| 1763 | + ['controller' => 'page', | ||
| 1764 | + 'action' => 'abouteng',] | ||
| 1765 | + ) | ||
| 1766 | + ->setName( 'aboutua' ); | ||
| 1761 | 1767 | ||
| 1762 | 1768 | ||
| 1763 | 1769 |