Update routes.php
This commit is contained in:
@@ -46,25 +46,5 @@ return array(
|
|||||||
'radio' => 'radio/index',
|
'radio' => 'radio/index',
|
||||||
|
|
||||||
'' => 'site/index',
|
'' => 'site/index',
|
||||||
/*'product/([0-9]+)' => 'product/view/$1',
|
|
||||||
'catalog' => 'catalog/index',
|
|
||||||
'category/([0-9]+)/page-([0-9]+)' => 'catalog/category/$1/$2',
|
|
||||||
'category/([0-9]+)' => 'catalog/category/$1',
|
|
||||||
'cart/add/([0-9]+)' => 'cart/add/$1',
|
|
||||||
'cart/addAjax/([0-9]+)' => 'cart/addAjax/$1',
|
|
||||||
'cart' => 'cart/index',
|
|
||||||
'user/register' => 'user/register',
|
|
||||||
'user/login' => 'user/login',
|
|
||||||
'user/logout' => 'user/logout',
|
|
||||||
'cabinet/edit' => 'cabinet/edit',
|
|
||||||
'cabinet' => 'cabinet/index',
|
|
||||||
'contacts' => 'site/contact',
|
|
||||||
|
|
||||||
'news/([0-9]*)' => 'news/view',
|
|
||||||
'news' => 'news/index',
|
|
||||||
'articles' => 'articles/list',
|
|
||||||
'news/archive' => 'news/archive',
|
|
||||||
|
|
||||||
* 'news/([0-9]+)' => 'news/view/$1',
|
|
||||||
'news' => 'news/index', */
|
|
||||||
);
|
);
|
||||||
Reference in New Issue
Block a user