X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=blobdiff_plain;f=application%2Fconfig%2Froutes.php;h=5a015246e88b21ea18ebf8fcbe099f1c61686984;hb=211dc651c32bb8998b3eb2fdd3a3b85fc31921ec;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..5a01524 --- a/application/config/routes.php +++ b/application/config/routes.php @@ -38,8 +38,16 @@ | */ -$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['about'] = 'article/about'; +$route['help'] = 'article/help'; +$route['install-plugins'] = 'article/install-plugins'; + /* End of file routes.php */