summaryrefslogtreecommitdiffstats
path: root/appinfo
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-09-02 15:59:20 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-09-02 15:59:20 +0200
commit5affdfe146453014083f8df0b5bcefbcfc6834d9 (patch)
treeaa7d7d32321dfe5e278b316cbb2db5fcebf763d2 /appinfo
parentd544f31fc009c789dda4f05a86b3fd742306fecb (diff)
fixing cors again
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 617b63c53..8a54c7435 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -275,11 +275,11 @@ $this->create('news_api_folders_read', '/api/v1-2/folders/{folderId}/read')->put
/**
* Feed API
*/
-$this->create('news_api_cors', '/api/v1-2/{path}')->method('options')->action(
+/*$this->create('news_api_cors', '/api/v1-2/{path}')->method('options')->action(
function($params) {
return App::main('NewsAPI', 'cors', $params, new DIContainer());
}
-)->requirements(array('path', '.+'));
+)->requirements(array('path', '.+'));*/
$this->create('news_api_feeds_get_all', '/api/v1-2/feeds')->get()->action(