diff options
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r-- | appinfo/routes.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index 4397b4750..903f04d06 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -194,6 +194,17 @@ $this->create('news_usersettings_read_hide', '/usersettings/read/hide')->post()- ); +/** + * Settings + */ +$this->create('news_setings_auto_purge_limit', '/settings/autopurgelimit') +->post()->action( + function($params){ + App::main('SettingsController', 'setAutoPurgeLimit', $params, + new DIContainer()); + } +); + /** * Feed API |