Disable layout caches.

This commit is contained in:
James Cole
2020-08-27 06:18:47 +02:00
parent 412b169e3a
commit 483e7256f7
2 changed files with 0 additions and 18 deletions

View File

@@ -92,11 +92,6 @@ class ShowController extends Controller
{
$objectType = config(sprintf('firefly.shortNamesByFullName.%s', $account->accountType->type));
// temp catch for layout.
if ('v2' === config('firefly.layout')) {
return view('accounts.empty-index', compact('objectType'));
}
if (!$this->isEditableAccount($account)) {
return $this->redirectAccountToAccount($account); // @codeCoverageIgnore
}