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

@@ -53,8 +53,8 @@ class HomeController extends Controller
public function __construct()
{
parent::__construct();
View::share('title', 'Firefly III');
View::share('mainTitleIcon', 'fa-fire');
app('view')->share('title', 'Firefly III');
app('view')->share('mainTitleIcon', 'fa-fire');
$this->middleware(IsLimitedUser::class)->except(['dateRange', 'index']);
}