Move $app_name into View composer

This commit is contained in:
James Brooks
2015-11-21 22:25:48 +00:00
parent a8dd60063e
commit e806ef0663
13 changed files with 40 additions and 38 deletions
+2
View File
@@ -31,6 +31,8 @@ class AppComposer
$mailFrom = env('MAIL_NAME', false);
$view->withSubscribersEnabled($isEnabled && $mailAddress && $mailFrom);
$view->withAppName(Setting::get('app_name'));
$view->withAboutApp(Markdown::convertToHtml(Setting::get('app_about')));
$view->withShowSupport(Setting::get('show_support'));
}
}