lib/veewee/templates.rb in veewee-0.3.0.alpha8 vs lib/veewee/templates.rb in veewee-0.3.0.alpha9
- old
+ new
@@ -44,10 +44,10 @@
if templates.length==0
env.logger.debug("[Template] no templates found")
end
- templates.each(&block)
+ Hash[templates.sort].each(&block)
end
private
# Traverses path to see which exist or not
# and checks if available