From 42e33c4808ffe0e6d9fcebc2ee4232f2729864c7 Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Mon, 5 Jan 2015 12:03:56 +0000 Subject: [PATCH] Fixes --- src/Http/Controllers/DashComponentController.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Http/Controllers/DashComponentController.php b/src/Http/Controllers/DashComponentController.php index e84bf4a5..21693681 100644 --- a/src/Http/Controllers/DashComponentController.php +++ b/src/Http/Controllers/DashComponentController.php @@ -30,10 +30,9 @@ class DashComponentController extends Controller ], ]; - $subTitle = trans_choice('dashboard.components.components', 2); + View::share('subMenu', $this->subMenu); - View::share('subTitle', $subTitle); - View::share('subMenu', $subMenu); + View::share('subTitle', trans_choice('dashboard.components.components', 2)); } /**