diff options
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r-- | appinfo/routes.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index ac0ecb315..4397b4750 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -151,13 +151,13 @@ $this->create('news_items_unread', '/items/{itemId}/unread')->post()->action( } ); -$this->create('news_items_star', '/items/{itemId}/star')->post()->action( +$this->create('news_items_star', '/items/{feedId}/{guidHash}/star')->post()->action( function($params){ App::main('ItemController', 'star', $params, new DIContainer()); } ); -$this->create('news_items_unstar', '/items/{itemId}/unstar')->post()->action( +$this->create('news_items_unstar', '/items/{feedId}/{guidHash}/unstar')->post()->action( function($params){ App::main('ItemController', 'unstar', $params, new DIContainer()); } |