diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-09-14 02:22:36 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-09-14 02:22:44 +0200 |
commit | df8f6b5fee643c5b2af8e8d33a7865e898518485 (patch) | |
tree | 7100d25d814d5f4b4cf502c9e2b9e6dd5f562ab3 /appinfo/routes.php | |
parent | 67d7754c364147c274790a76dab7cbfedd352645 (diff) |
implement pull to refresh, fix #44
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r-- | appinfo/routes.php | 6 |
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()); |