summaryrefslogtreecommitdiffstats
path: root/appinfo/routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r--appinfo/routes.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 25eb04dc2..d60f63424 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -233,6 +233,12 @@ $this->create('news_api_version', '/api/v1-2/version')->get()->action(
}
);
+$this->create('news_api_cleanup', '/api/v1-2/cleanUp')->get()->action(
+ function($params) {
+ return App::main('NewsAPI', 'cleanUp', $params, new DIContainer());
+ }
+);
+
/**
* Folder API
*/