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

@@ -78,8 +78,8 @@ class SplitController extends Controller
$this->tasker = app(JournalTaskerInterface::class);
$this->attachments = app(AttachmentHelperInterface::class);
$this->currencies = app(CurrencyRepositoryInterface::class);
View::share('mainTitleIcon', 'fa-share-alt');
View::share('title', trans('firefly.split-transactions'));
app('view')->share('mainTitleIcon', 'fa-share-alt');
app('view')->share('title', trans('firefly.split-transactions'));
return $next($request);
}