# How to change template rendering order?

**URL:** <https://www.ruby-forum.com/t/how-to-change-template-rendering-order/155312>\
**Category:** Rails\
**Created:** [December 10, 2008, 2:58pm UTC](https://www.ruby-forum.com/t/how-to-change-template-rendering-order/155312 "2008-12-10T14:58:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yitzhakbg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e274bd/32.png) [@yitzhakbg](https://www.ruby-forum.com/u/yitzhakbg)\
**Post date:** [December 10, 2008, 2:58pm UTC](https://www.ruby-forum.com/t/how-to-change-template-rendering-order/155312/1 "2008-12-10T14:58:38Z")

</div>

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?
