summaryrefslogtreecommitdiffstats
path: root/appinfo/routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r--appinfo/routes.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index de8f5a47a..bc1b7ad7d 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -157,6 +157,12 @@ $this->create('news_items', '/items')->get()->action(
}
);
+$this->create('news_items_new', '/items/new')->get()->action(
+ function($params){
+ App::main('ItemController', 'newItems', $params, new DIContainer());
+ }
+);
+
$this->create('news_items_read', '/items/{itemId}/read')->post()->action(
function($params){
App::main('ItemController', 'read', $params, new DIContainer());