提交 1bbc51e5 编写于 作者: P Prem Sichanugrist

Fix failing test on uninitialized `Rails.config.assets.prefix`

This was introduced in [2684f17a] 💣
上级 9e2e2426
......@@ -151,6 +151,7 @@ def config
config.assets_dir = public_dir
config.javascripts_dir = "#{public_dir}/javascripts"
config.stylesheets_dir = "#{public_dir}/stylesheets"
config.assets = ActiveSupport::InheritableOptions.new({ :prefix => "assets" })
config
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册