diff --git a/app/Composers/AppComposer.php b/app/Composers/AppComposer.php index c136124c..5c0c2b7b 100644 --- a/app/Composers/AppComposer.php +++ b/app/Composers/AppComposer.php @@ -85,5 +85,6 @@ class AppComposer $view->withSiteTitle($this->config->get('setting.app_name')); $view->withFontSubset($this->config->get('langs.'.$this->config->get('app.locale').'.subset', 'latin')); $view->withOnlyDisruptedDays($this->config->get('setting.only_disrupted_days')); + $view->withDashboardLink($this->config->get('setting.dashboard_login_link')); } } diff --git a/resources/views/partials/footer.blade.php b/resources/views/partials/footer.blade.php index 3b44beb2..33cdd7fb 100644 --- a/resources/views/partials/footer.blade.php +++ b/resources/views/partials/footer.blade.php @@ -16,7 +16,7 @@
- @elseif(Config::get('setting.dashboard_login_link')) + @elseif($dashboard_link)
  • {{ trans('dashboard.dashboard') }}
  • @endif