summaryrefslogtreecommitdiff
path: root/core/config/routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/config/routes.php')
-rw-r--r--core/config/routes.php5
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';