summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--appinfo/routes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 6e6fc59f0..0cb9c2b1e 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -116,6 +116,6 @@ $app->registerRoutes($this, array(
$this->create('news_api_cors', '/api/v1-2/{path}')->method('options')->action(
function($params) {
$app = new News($params);
- $app->dispatch('NewsApiController', 'cors');
+ $app->dispatch('ApiController', 'cors');
}
)->requirements(array('path' => '.+')); \ No newline at end of file