change url params -> locals to support templates without controller