Permalink
Browse files

remove deprected RAILS_ROOT constant

  • Loading branch information...
1 parent 2bceb91 commit 0dd767187e908093ace1072cf0bcdb13acc9dbe3 @akaspick akaspick committed Aug 2, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 init.rb
View
@@ -2,8 +2,8 @@
config.to_prepare do
CssAssetTaggerOptions.perform_tagging = Rails.env.production?
- CssAssetTaggerOptions.css_paths = %W(#{RAILS_ROOT}/public/stylesheets)
- CssAssetTaggerOptions.asset_path = "#{RAILS_ROOT}/public"
+ CssAssetTaggerOptions.css_paths = %W(#{Rails.root}/public/stylesheets)
+ CssAssetTaggerOptions.asset_path = "#{Rails.root}/public"
CssAssetTaggerOptions.show_warnings = Rails.env.development?
CssAssetTagger.tag(CssAssetTaggerOptions.css_paths) if CssAssetTaggerOptions.perform_tagging

0 comments on commit 0dd7671

Please sign in to comment.