public function postEdit($id)
 {
     $unit = MapUnit::find($id);
     if (empty($unit->id)) {
         return Redirect::to('unit')->with(array('unit-error' => 'Unit not found!'));
     }
     $unit->name = e(Input::get('name'));
     $unit->save();
     return Redirect::to('unit');
 }