diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-09 18:39:20 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-09 22:52:28 +0200 |
commit | 1b21cab240ed8b2e37171d8d8ea598a4c42547c5 (patch) | |
tree | 2cd614e7928b52406654f1f97492337091deff8a /appinfo/routes.php | |
parent | 7506619c9cf882a7c5b910a83c17a7d044a3f4d2 (diff) |
fix name of cors controller
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 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 |