From 3b5d012b57774420049408b96aa64282f0d34609 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Wed, 9 Apr 2014 16:52:04 +0200 Subject: fix user settings request --- appinfo/routes.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'appinfo/routes.php') 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( -- cgit v1.2.3