mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Replace deprecated RAILS_ROOT to Rails.env [#4373 state:resolved]
Signed-off-by: wycats <wycats@gmail.com>
This commit is contained in:
parent
a64bfc3c8e
commit
219c81b9e1
1 changed files with 1 additions and 1 deletions
|
@ -69,4 +69,4 @@ BuildReaper.number_of_builds_to_keep = 100
|
|||
|
||||
# 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
|
||||
|
|
Loading…
Reference in a new issue