lib/capcode/render/haml.rb in capcode-render-haml-0.1.0 vs lib/capcode/render/haml.rb in capcode-render-haml-0.2.0

- old
+ new

@@ -32,10 +32,10 @@ @haml_path = File.expand_path( File.join(".", @haml_path) ) end end # Update options - opts = (Capcode.options[:haml] || {}).merge(opts) + opts = (Capcode::Configuration.options[:haml] || {}).merge(opts) # Get Layout file layout = opts.delete(:layout)||:layout layout_file = File.join( @haml_path, layout.to_s+".haml" ) \ No newline at end of file