1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-28 23:40:41 +02:00

Flextype Box Plugin: Admin #125 #117

- fixes and refactoring
This commit is contained in:
Awilum
2019-06-07 23:44:39 +03:00
parent bfb7028dea
commit 95c805eae6

View File

@@ -129,7 +129,7 @@ class SettingsController extends Controller
*/
public function clearCacheProcess(Request $request, Response $response) : Response
{
Cache::clear();
$this->cache->clear();
$this->flash->addMessage('success', __('admin_message_cache_files_deleted'));
return $response->withRedirect($this->container->get('router')->pathFor('admin.settings.index'));
}