(a) Any persons, jointly or severally, aggrieved by any decision of the city planning and zoning commission shall have the right of appeal to city council, if such appeal is filed with the building inspector within 30 days of the rendering of the decision by the planning and zoning commission. (b) Any persons, jointly or severally, aggrieved by any decision of city council regarding any subdivision matter shall have the right of appeal to a court of law if such appeal is filed with the clerk of court within 30 days of the rendering of the decision by the city council.