How to change template rendering order?

I need to have html.erb and html.haml templates living side by side in
the same directories. How
does one configure Rails at initialization to prefer rendering one
type over the other when both types are present?