/** * Store a newly created resource in storage. * * @return Response */ public function putLocations() { $json = \Input::all(); $key = \Input::get('key'); $json['mode'] = 'edit'; $batch = \Input::get('batch'); \Dumper::insert($json); }