From 617f4b6049f8be402e0c8519672643362e58141f Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Fri, 19 Jul 2013 19:25:36 +0200 Subject: fix create api route --- appinfo/routes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'appinfo') 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()); } -- cgit v1.2.3