Short-term rental ordinance passed