summaryrefslogtreecommitdiffstats
path: root/appinfo/routes.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-04-09 16:52:04 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-04-09 22:52:27 +0200
commit3b5d012b57774420049408b96aa64282f0d34609 (patch)
treeac43b03d4b4c0df0e6158e6fa33f329ec831205d /appinfo/routes.php
parent6e0de4208c06a3c95cbe274a93476b6b7eacafa0 (diff)
fix user settings request
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r--appinfo/routes.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index d5d40c1a4..118cbac54 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -108,9 +108,9 @@ $app->registerRoutes(array(
array('name' => 'item_api#star', 'url' => '/api/v1-2/feeds/{feedId}/{guidHash}/star', 'verb' => 'PUT'), // FIXME: POST would be more correct
array('name' => 'item_api#unstar', 'url' => '/api/v1-2/feeds/{feedId}/{guidHash}/unstar', 'verb' => 'PUT'), // FIXME: POST would be more correct
array('name' => 'item_api#star_multiple', 'url' => '/api/v1-2/feeds/star/multiple', 'verb' => 'PUT'), // FIXME: POST would be more correct
- array('name' => 'item_api#unstar_multiple', 'url' => '/api/v1-2/feeds/unstar/multiple', 'verb' => 'PUT'), // FIXME: POST would be more correct
+ array('name' => 'item_api#unstar_multiple', 'url' => '/api/v1-2/feeds/unstar/multiple', 'verb' => 'PUT') // FIXME: POST would be more correct
)
-);
+));
/* TODO: FIX CORS
$this->create('news_api_cors', '/api/v1-2/{path}')->method('options')->action(