<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,8 +3,7 @@ if defined?(Merb)
   require &quot;haml&quot;
   require &quot;merb-haml/template&quot;
   Merb::Plugins.add_rakefiles(File.join(File.dirname(__FILE__) / &quot;merb-haml&quot; / &quot;merbtasks&quot;))
-
-  Merb::Plugins.config[:haml] ||= {}
+  
   Merb::Plugins.config[:sass] ||= {}
 
   Merb::BootLoader.after_app_loads do</diff>
      <filename>merb-haml/lib/merb-haml.rb</filename>
    </modified>
    <modified>
      <diff>@@ -11,8 +11,11 @@ module Merb::Template
     # mod&lt;Class, Module&gt;::
     #   The class or module wherein this method should be defined.
     def self.compile_template(io, name, locals, mod)
-      path     = File.expand_path(io.path)
-      config   = Mash.new(Merb::Plugins.config[:haml].merge(:filename =&gt; path))
+      path = File.expand_path(io.path)
+      config = (Merb::Plugins.config[:haml] || {}).inject({}) do |c, (k, v)|
+        c[k.to_sym] = v
+        c
+      end.merge :filename =&gt; path
       template = ::Haml::Engine.new(io.read, config)
       template.def_method(mod, name, *locals)
       name</diff>
      <filename>merb-haml/lib/merb-haml/template.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a86c711fa54c4c433efac83a3eee622605ceb9d8</id>
    </parent>
  </parents>
  <author>
    <name>Michael S. Klishin</name>
    <email>michael@novemberain.com</email>
  </author>
  <url>http://github.com/wycats/merb/commit/5d54aa9da31466dacb39961f9ef818244aa14515</url>
  <id>5d54aa9da31466dacb39961f9ef818244aa14515</id>
  <committed-date>2009-01-29T11:35:25-08:00</committed-date>
  <authored-date>2009-01-29T11:33:46-08:00</authored-date>
  <message>Revert &quot;[merb-haml] Use Mash instead of overly clever code with inject&quot;

This reverts commit 033ded037567d7c7bde0e28bc201c80768c37c13.

This change caused template engine options be never passed to HAML engine.</message>
  <tree>93501b360acd7b0cf4dbe43ea0884d3c889edbba</tree>
  <committer>
    <name>Michael S. Klishin</name>
    <email>michael@novemberain.com</email>
  </committer>
</commit>
