Merge pull request #1157 from phecho/fix-schedule-delete

Give a right tip when a schedule be deleted successfully.
This commit is contained in:
James Brooks
2015-11-20 08:21:47 +00:00

View File

@@ -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')));
}
}