class ActionView::Base

def delegate_template_exists_with_haml(template_path)

def delegate_template_exists_with_haml(template_path)
  template_exists?(template_path, :haml) && [:haml]
end