diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-01 22:01:33 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-01 22:01:33 +0200 |
commit | 0031dceedf64fcccc4fe1feb8b44cf25a6da4fc9 (patch) | |
tree | 49d8115e275c783c5e8052ced68e12a4620e7d38 /appinfo/routes.php | |
parent | 6d74a15e317f2ae0b37682475d1aeda2a8fbf251 (diff) |
use correct updater route
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r-- | appinfo/routes.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index 84b421bb0..b3f42cdef 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -61,7 +61,6 @@ $application->registerRoutes($this, array('routes' => array( // API array('name' => 'api#version', 'url' => '/api/v1-2/version', 'verb' => 'GET'), - array('name' => 'api#update', 'url' => '/api/v1-2/update', 'verb' => 'GET'), array('name' => 'api#before_update', 'url' => '/api/v1-2/cleanup/before-update', 'verb' => 'GET'), array('name' => 'api#after_update', 'url' => '/api/v1-2/cleanup/after-update', 'verb' => 'GET'), array('name' => 'api#cors', 'url' => '/api/v1-2/{path}', 'verb' => 'OPTIONS', 'requirements' => array('path' => '.+')), @@ -82,6 +81,7 @@ $application->registerRoutes($this, array('routes' => array( array('name' => 'feed_api#move', 'url' => '/api/v1-2/feeds/{feedId}/move', 'verb' => 'PUT'), // FIXME: POST would be more correct array('name' => 'feed_api#rename', 'url' => '/api/v1-2/feeds/{feedId}/rename', 'verb' => 'PUT'), // FIXME: POST would be more correct array('name' => 'feed_api#read', 'url' => '/api/v1-2/feeds/{feedId}/read', 'verb' => 'PUT'), // FIXME: POST would be more correct + array('name' => 'feed_api#update', 'url' => '/api/v1-2/update', 'verb' => 'GET'), // items array('name' => 'item_api#index', 'url' => '/api/v1-2/items', 'verb' => 'GET'), |