提交 76053fe4 编写于 作者: X Xavier Shay 提交者: Santiago Pastorino

Allow http templates again, fix the broken test

[#5926 state:committed]
Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
上级 927c582a
......@@ -102,7 +102,7 @@ def apply_rails_template
def set_default_accessors!
self.rails_template = case options[:template]
when /^https:\/\//
when /^https?:\/\//
options[:template]
when String
File.expand_path(options[:template], Dir.pwd)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册