diff options
Diffstat (limited to 'app/controllers/admin/cache.php')
| -rw-r--r-- | app/controllers/admin/cache.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/controllers/admin/cache.php b/app/controllers/admin/cache.php index 3e9d970..c016af5 100644 --- a/app/controllers/admin/cache.php +++ b/app/controllers/admin/cache.php @@ -81,11 +81,10 @@ class Admin_CacheController extends AuthenticatedController /** * Fetches necessary configuration for given cache type. - * - * @param string $className */ - public function get_config_action($className) + public function get_config_action() { + $className = Request::get('cache'); $type = CacheType::findOneByClass_name($className); $this->render_json($type->class_name::getConfig()); |
