class ActionView::Base

def compile_template_with_haml(extension, template, file_name, local_assigns)

def compile_template_with_haml(extension, template, file_name, local_assigns)
  return compile_haml(template, file_name, local_assigns) if extension.to_s == "haml"
  compile_template_without_haml(extension, template, file_name, local_assigns)
end