Merge pull request #1157 from phecho/fix-schedule-delete
Give a right tip when a schedule be deleted successfully.
This commit is contained in:
@@ -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')));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user