Commit aaea3661002ae4fdb3899cc40aaa3a098fa27c15

Authored by Eugeny Galkovskiy
1 parent ead33976

123

src/app/frontend/controllers/PageController.php
... ... @@ -1416,6 +1416,9 @@ class PageController extends \controllers\ControllerBase
1416 1416 public function aboutuaAction(){
1417 1417 $this->view->setMainView('about_ukr');
1418 1418 }
  1419 + public function aboutuaAction(){
  1420 + $this->view->setMainView('about_eng');
  1421 + }
1419 1422  
1420 1423 public function compareItemsAction( $url, $subtype, $compare_ids)
1421 1424 {
... ...
www/index.php
... ... @@ -1758,6 +1758,12 @@ try
1758 1758 'action' => 'aboutua',]
1759 1759 )
1760 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  
... ...