Closes #330 - show old incident data

This commit is contained in:
James Brooks
2015-01-09 19:48:28 +00:00
parent 34a81d1fea
commit c3e89937b9
2 changed files with 6 additions and 7 deletions

View File

@@ -70,10 +70,9 @@ class DashIncidentController extends Controller
*/
public function createIncidentAction()
{
$_incident = Binput::get('incident');
$incident = Incident::create($_incident);
$incident = Incident::create(Binput::get('incident'));
return Redirect::back()->with('incident', $incident);
return Redirect::back()->withInput(Binput::all())->with('incident', $incident);
}
/**