From 2e6ec154159bee523cb75c5d4ebd562cc6518761 Mon Sep 17 00:00:00 2001 From: Andrey Date: Wed, 17 Oct 2018 11:19:30 +0300 Subject: [PATCH] Update routes.php --- config/routes.php | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/config/routes.php b/config/routes.php index b8e63e5..e08bf48 100644 --- a/config/routes.php +++ b/config/routes.php @@ -46,25 +46,5 @@ return array( 'radio' => 'radio/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', */ -); \ No newline at end of file + +);