(a) The governing body of a municipality may exercise a power, right, privilege, or function conferred by this subchapter on the municipality only by adopting an ordinance to authorize the action.
(b) A referendum or election by the voters of the municipality is not necessary to authorize:
(1) the adoption of an ordinance under Subsection (a); or
(2) the taking of an action to accomplish a purpose of this subchapter.