public function debugSessionAction() { if (Application::inDevelopment()) { Session::start(); return '<pre>' . print_r($_SESSION, true) . '</pre>'; } else { return Redirect::temporary('/'); } }
/** * Clear the cache * @return \Koldy\Redirect * @link /report/clear-cache/12324324 */ public function clearCacheAjax() { $id = Url::getVar(2); $cacheKey = "report-{$id}"; Cache::delete($cacheKey); return Redirect::href('report', $id); }