Permalink
Browse files

RAILS_ROOT Deprecation removed

  • Loading branch information...
1 parent 9ae96bd commit c38e0efe74b4b01a81fc2cd65cd9284265605f32 Sandip Ransing committed Feb 12, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/tasks/rails_tooltip_tasks.rake
@@ -7,8 +7,8 @@ namespace :rails_tooltip do
task :install do
puts "** Copying tooltip plugin assets..."
- source = File.join(RAILS_ROOT, '/vendor/plugins/rails_tooltip/assets/.')
- FileUtils.cp_r source, RAILS_ROOT
+ source = File.join(Rails.root, '/vendor/plugins/rails_tooltip/assets/.')
+ FileUtils.cp_r source, Rails.root
puts "** Successfully installed tooltip assets"
end

0 comments on commit c38e0ef

Please sign in to comment.