diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-07-19 19:25:36 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-07-19 19:25:36 +0200 |
commit | 617f4b6049f8be402e0c8519672643362e58141f (patch) | |
tree | 7d232e05623f27aea1d50d79b5f6811e99682b18 | |
parent | f04b1f4915185e8d52b396f85978237ad56b7ba9 (diff) |
fix create api route
-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 9f30def1d..7bb3ba40c 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -275,7 +275,7 @@ $this->create('news_api_feeds_get_all', '/api/v1-2/feeds')->get()->action( } ); -$this->create('news_api_feeds_create', '/api/v1-2/feeds/{feedId}')->post()->action( +$this->create('news_api_feeds_create', '/api/v1-2/feeds')->post()->action( function($params) { return App::main('FeedAPI', 'create', $params, new DIContainer()); } |