mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-12 01:42:32 +00:00
Move more to v2
This commit is contained in:
@@ -47,7 +47,7 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'view' => 'partials/layout/v4/breadcrumbs',
|
||||
'view' => 'partials/layout/breadcrumbs',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
@@ -21,6 +21,12 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
$path = realpath(base_path('resources/views'));
|
||||
if ('v2' === env('FIREFLY_III_LAYOUT')) {
|
||||
$path = realpath(base_path('resources/views/v2'));
|
||||
}
|
||||
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
@@ -33,9 +39,7 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'paths' => [
|
||||
realpath(base_path('resources/views')),
|
||||
],
|
||||
'paths' => [$path,],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user