mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-17 07:08:19 +00:00
Disable layout caches.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user