Commit a42e91f02e9c748deaba6d3fb688e5a457b77f12
1 parent
3b376a55
123
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
src/app/frontend/controllers/PageController.php
| @@ -1413,7 +1413,7 @@ class PageController extends \controllers\ControllerBase | @@ -1413,7 +1413,7 @@ class PageController extends \controllers\ControllerBase | ||
| 1413 | die(); | 1413 | die(); |
| 1414 | } | 1414 | } |
| 1415 | 1415 | ||
| 1416 | - public function aboutuaAction($type){ | 1416 | + public function aboutuaAction(){ |
| 1417 | $this->view->setMainView('about_ukr'); | 1417 | $this->view->setMainView('about_ukr'); |
| 1418 | } | 1418 | } |
| 1419 | 1419 |
www/index.php
| @@ -1748,7 +1748,7 @@ try | @@ -1748,7 +1748,7 @@ try | ||
| 1748 | 1748 | ||
| 1749 | $router->add | 1749 | $router->add |
| 1750 | ( | 1750 | ( |
| 1751 | - '/about{language:([/][a-z]{2})?}', | 1751 | + '/aboutua', |
| 1752 | [ | 1752 | [ |
| 1753 | 'controller' => 'page', | 1753 | 'controller' => 'page', |
| 1754 | 'action' => 'aboutua', | 1754 | 'action' => 'aboutua', |