diff options
author | Jozef Selesi <jozefs@users.sourceforge.net> | 2008-11-15 16:52:23 +0000 |
---|---|---|
committer | Jozef Selesi <jozefs@users.sourceforge.net> | 2008-11-15 16:52:23 +0000 |
commit | f9eaa8c220630578664fb6b46d082fce42726ca5 (patch) | |
tree | a9bac48a58c68d575ef46eed149d9daf4f6a0093 /core | |
parent | 66bd9d85b3820df8e4393019754d6a11294d4d4e (diff) |
Initial add comment implementation.
Diffstat (limited to 'core')
-rw-r--r-- | core/config/routes.php | 5 |
1 files changed, 5 insertions, 0 deletions
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'; |