From 76a6500c26280866944159a496ede4958be49133 Mon Sep 17 00:00:00 2001 From: phecho Date: Wed, 11 Nov 2015 15:31:11 +0800 Subject: [PATCH] Fixed translations of dashboard page title --- app/Http/Controllers/Dashboard/IncidentController.php | 2 +- app/Http/Controllers/Dashboard/ScheduleController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Dashboard/IncidentController.php b/app/Http/Controllers/Dashboard/IncidentController.php index e1b484ea..81aa4082 100644 --- a/app/Http/Controllers/Dashboard/IncidentController.php +++ b/app/Http/Controllers/Dashboard/IncidentController.php @@ -70,7 +70,7 @@ class IncidentController extends Controller public function showIncidents() { $incidents = Incident::notScheduled()->orderBy('created_at', 'desc')->get(); - + return View::make('dashboard.incidents.index') ->withPageTitle(trans('dashboard.incidents.incidents').' - '.trans('dashboard.dashboard')) ->withIncidents($incidents); diff --git a/app/Http/Controllers/Dashboard/ScheduleController.php b/app/Http/Controllers/Dashboard/ScheduleController.php index dd66fe5f..c43f1af1 100644 --- a/app/Http/Controllers/Dashboard/ScheduleController.php +++ b/app/Http/Controllers/Dashboard/ScheduleController.php @@ -69,7 +69,7 @@ class ScheduleController extends Controller public function showIndex() { $schedule = Incident::scheduled()->orderBy('created_at')->get(); - + return View::make('dashboard.schedule.index') ->withPageTitle(trans('dashboard.schedule.schedule').' - '.trans('dashboard.dashboard')) ->withSchedule($schedule);