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
@@ -1,5 +1,5 @@
{{ trans('cachet.users.email.invite.text', ['app_name' => Setting::get('app_name'), 'link' => $link]) }}
{{ trans('cachet.users.email.invite.text', ['app_name' => $app_name, 'link' => $link]) }}
@if(Setting::get('show_support'))
{!! trans('cachet.powered_by', ['app' => Setting::get('app_name')]) !!}
@if($show_support)
{!! trans('cachet.powered_by', ['app' => $app_name]) !!}
@endif