lib/orange/resources/parser.rb in orange-0.0.8 vs lib/orange/resources/parser.rb in orange-0.0.10
- old
+ new
@@ -30,10 +30,10 @@
string ||= read_if_exists('views', resource, file) if resource
string ||= read_if_exists('views', file)
string ||= read_if_exists(views_dir, resource, file) if resource
string ||= read_if_exists(views_dir, 'default_resource', file)
string ||= read_if_exists(views_dir, file)
- raise LoadError, "Couldn't find haml file '#{file}" unless string
+ raise LoadError, "Couldn't find haml file '#{file}'" unless string
haml_engine = Haml::Engine.new(string)
out = haml_engine.render(packet, opts, &block)
end
\ No newline at end of file