Fix method reference

This commit is contained in:
James Cole 2020-04-19 06:09:55 +02:00
parent 3ca186dc8f
commit 12b3575c5c
No known key found for this signature in database
GPG Key ID: B5669F9493CDE38D

View File

@ -92,10 +92,12 @@ class Controller extends BaseController
// get shown-intro-preference:
if (auth()->check()) {
$language = $this->getLanguage();
$language = app('steam')->getLanguage();
$locale = app('steam')->getLanguage();
$page = $this->getPageName();
$shownDemo = $this->hasSeenDemo();
app('view')->share('language', $language);
app('view')->share('locale', $locale);
app('view')->share('shownDemo', $shownDemo);
app('view')->share('current_route_name', $page);
app('view')->share('original_route_name', Route::currentRouteName());