提交 908aaa65 编写于 作者: D Dwight Watson

Sort mailer previews

上级 704a7e42
......@@ -104,7 +104,7 @@ def preview_name
private
def load_previews
if preview_path
Dir["#{preview_path}/**/*_preview.rb"].each { |file| require_dependency file }
Dir["#{preview_path}/**/*_preview.rb"].sort.each { |file| require_dependency file }
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册