diff options
-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()); } |