mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-20 03:08:11 +00:00
Share primary currency to all pages.
This commit is contained in:
@@ -135,7 +135,6 @@ class IndexController extends Controller
|
||||
|
||||
// get all inactive budgets, and simply list them:
|
||||
$inactive = $this->repository->getInactiveBudgets();
|
||||
$primaryCurrency = $this->primaryCurrency;
|
||||
|
||||
return view(
|
||||
'budgets.index',
|
||||
@@ -148,7 +147,6 @@ class IndexController extends Controller
|
||||
'budgets',
|
||||
'currencies',
|
||||
'periodTitle',
|
||||
'primaryCurrency',
|
||||
'activeDaysPassed',
|
||||
'activeDaysLeft',
|
||||
'inactive',
|
||||
|
@@ -140,6 +140,7 @@ abstract class Controller extends BaseController
|
||||
View::share('language', $language);
|
||||
View::share('locale', $locale);
|
||||
View::share('convertToPrimary', $this->convertToPrimary);
|
||||
View::share('primaryCurrency', $this->primaryCurrency);
|
||||
View::share('shownDemo', $shownDemo);
|
||||
View::share('current_route_name', $page);
|
||||
View::share('original_route_name', Route::currentRouteName());
|
||||
|
Reference in New Issue
Block a user