This commit is contained in:
James Brooks
2016-03-16 17:40:26 +00:00
parent 8e8a78ca10
commit 419fa31d6e
2 changed files with 9 additions and 9 deletions

View File

@@ -95,10 +95,10 @@ class ScheduleController extends Controller
{
try {
$incident = dispatch(new ReportMaintenanceCommand(
Binput::get('incident.name'),
Binput::get('incident.message'),
Binput::get('incident.notify'),
Binput::get('incident.scheduled_at')
Binput::get('name'),
Binput::get('message'),
Binput::get('notify'),
Binput::get('scheduled_at')
));
} catch (ValidationException $e) {
return Redirect::route('dashboard.schedule.add')