Small code change for controllers.

This commit is contained in:
James Cole
2017-12-16 19:46:36 +01:00
parent 66ee382da0
commit 9086259a65
28 changed files with 54 additions and 54 deletions

View File

@@ -59,8 +59,8 @@ class ReconcileController extends Controller
// translations:
$this->middleware(
function ($request, $next) {
View::share('mainTitleIcon', 'fa-credit-card');
View::share('title', trans('firefly.accounts'));
app('view')->share('mainTitleIcon', 'fa-credit-card');
app('view')->share('title', trans('firefly.accounts'));
return $next($request);
}