From f9eaa8c220630578664fb6b46d082fce42726ca5 Mon Sep 17 00:00:00 2001 From: Jozef Selesi Date: Sat, 15 Nov 2008 16:52:23 +0000 Subject: Initial add comment implementation. --- core/config/routes.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'core') diff --git a/core/config/routes.php b/core/config/routes.php index 24e2d73c..de66b8fb 100644 --- a/core/config/routes.php +++ b/core/config/routes.php @@ -27,3 +27,8 @@ $config['^(\w+)/(\d+)$'] = '$1/dispatch/$2'; // For now our default page is the scaffolding. $config['_default'] = 'welcome'; + +// Special routes for the comment module. +// @todo Dynamically load this. +$config['photo/(\d+)/comments/add$'] = 'comment/add/$1'; +$config['photo/(\d+)/comments$'] = 'comment/get_item_comments/$1'; -- cgit v1.2.3