From 66cb027b2a1d06351260ec7c0151bb3f54bb7a0e Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Mon, 5 Jan 2015 12:01:51 +0000 Subject: [PATCH] Removed the use of the url facade --- 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 3fabb824..e84bf4a5 100644 --- a/src/Http/Controllers/DashComponentController.php +++ b/src/Http/Controllers/DashComponentController.php @@ -7,7 +7,6 @@ use CachetHQ\Cachet\Models\ComponentGroup; use GrahamCampbell\Binput\Facades\Binput; use Illuminate\Routing\Controller; use Illuminate\Support\Facades\Redirect; -use Illuminate\Support\Facades\URL; use Illuminate\Support\Facades\View; class DashComponentController extends Controller @@ -19,13 +18,13 @@ class DashComponentController extends Controller $this->subMenu = [ 'components' => [ 'title' => trans_choice('dashboard.components.components', 2), - 'url' => URL::route('dashboard.components'), + 'url' => route('dashboard.components'), 'icon' => 'ion-ios-keypad', 'active' => false, ], 'groups' => [ 'title' => trans_choice('dashboard.components.groups.groups', 2), - 'url' => URL::route('dashboard.components.groups'), + 'url' => route('dashboard.components.groups'), 'icon' => 'ion-folder', 'active' => false, ],