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

@@ -46,8 +46,8 @@ class UserController extends Controller
$this->middleware(
function ($request, $next) {
View::share('title', strval(trans('firefly.administration')));
View::share('mainTitleIcon', 'fa-hand-spock-o');
app('view')->share('title', strval(trans('firefly.administration')));
app('view')->share('mainTitleIcon', 'fa-hand-spock-o');
return $next($request);
}