This commit is contained in:
phecho
2015-11-20 17:02:11 +08:00
parent 031d89ea4a
commit 32b66df5f0
8 changed files with 41 additions and 12 deletions

View File

@@ -110,7 +110,7 @@ class ScheduleController extends Controller
->withErrors($e->getMessageBag());
}
return Redirect::route('dashboard.schedule.add')
return Redirect::route('dashboard.schedule.index')
->withSuccess(sprintf('%s %s', trans('dashboard.notifications.awesome'), trans('dashboard.schedule.add.success')));
}
@@ -182,6 +182,6 @@ class ScheduleController extends Controller
$schedule->delete();
return Redirect::route('dashboard.schedule.index')
->withWarning(sprintf('%s %s', trans('dashboard.notifications.awesome'), trans('dashboard.schedule.delete.success')));
->withSuccess(sprintf('%s %s', trans('dashboard.notifications.awesome'), trans('dashboard.schedule.delete.success')));
}
}