X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=blobdiff_plain;f=application%2Fconfig%2Froutes.php;h=b922d2b43b47faeec9e069406fcf7063a275020a;hb=e1f154780b5b004e047977b6582dd19bf85d4e4d;hp=5f9a58343042b1bf8a07298a134410faea4da866;hpb=6d8f5b56b237767344bc4a283b4093e6d6f1a612;p=living-lab-site.git diff --git a/application/config/routes.php b/application/config/routes.php old mode 100755 new mode 100644 index 5f9a583..b922d2b --- a/application/config/routes.php +++ b/application/config/routes.php @@ -38,8 +38,17 @@ | */ -$route['default_controller'] = "welcome"; +$route['default_controller'] = "catalog"; $route['404_override'] = ''; +// Watch pages +$route['watch/([\d]+)/?'] = "video/watch/$1"; +$route['watch/([\d]+)/(.+)'] = "video/watch/$1/$2"; +// Article pages +$route['install-plugins'] = 'article/install-plugins'; +$route['about'] = 'article/about'; +$route['help'] = 'article/help'; +$route['contact'] = 'article/contact'; + /* End of file routes.php */