From e14ebe80e9d9c6ad43194e568d0e7b8353654967 Mon Sep 17 00:00:00 2001 From: phecho Date: Fri, 20 Nov 2015 09:43:46 +0800 Subject: [PATCH] Give a right tip when a schedule be deleted successfully. --- app/Http/Controllers/Dashboard/ScheduleController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Dashboard/ScheduleController.php b/app/Http/Controllers/Dashboard/ScheduleController.php index c43f1af1..497edd0b 100644 --- a/app/Http/Controllers/Dashboard/ScheduleController.php +++ b/app/Http/Controllers/Dashboard/ScheduleController.php @@ -182,6 +182,6 @@ class ScheduleController extends Controller $schedule->delete(); return Redirect::route('dashboard.schedule.index') - ->withWarning(sprintf('%s %s', trans('dashboard.notifications.whoops'), trans('dashboard.schedule.delete.failure'))); + ->withWarning(sprintf('%s %s', trans('dashboard.notifications.awesome'), trans('dashboard.schedule.delete.success'))); } }