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

@@ -56,8 +56,8 @@ class NewUserController extends Controller
*/
public function index(AccountRepositoryInterface $repository)
{
View::share('title', trans('firefly.welcome'));
View::share('mainTitleIcon', 'fa-fire');
app('view')->share('title', trans('firefly.welcome'));
app('view')->share('mainTitleIcon', 'fa-fire');
$types = config('firefly.accountTypesByIdentifier.asset');
$count = $repository->count($types);