提交 219c81b9 编写于 作者: A Anil Wadghule 提交者: wycats

Replace deprecated RAILS_ROOT to Rails.env [#4373 state:resolved]

Signed-off-by: Nwycats <wycats@gmail.com>
上级 a64bfc3c
......@@ -69,4 +69,4 @@
# any files that you'd like to override in cruise, keep in ~/.cruise, and copy over when this file is loaded like this
site_css = CRUISE_DATA_ROOT + "/site.css"
FileUtils.cp site_css, RAILS_ROOT + "/public/stylesheets/site.css" if File.exists? site_css
FileUtils.cp site_css, Rails.root + "/public/stylesheets/site.css" if File.exists? site_css
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册