diff options
author | Mark Longair <mhl@pobox.com> | 2013-04-03 15:00:59 +0100 |
---|---|---|
committer | Mark Longair <mhl@pobox.com> | 2013-04-03 15:14:22 +0100 |
commit | e90c170f84ab4b91b25c673045bc0bbec0c5788a (patch) | |
tree | 91312b0d410246116e50a09829446c7a072cba97 /install.rb | |
parent | 852f088c104ae74210057578f2621afaa308d098 (diff) |
Replace RAILS_ROOT with Rails.root for Rails 3use-with-alaveteli-0.10
Diffstat (limited to 'install.rb')
-rw-r--r-- | install.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,7 +1,7 @@ # Install hook code here plugin_path = File.expand_path(File.join(File.dirname(__FILE__), "public")) -main_app_path = File.join(RAILS_ROOT, 'public', 'alavetelitheme') +main_app_path = Rails.root.join('public', 'alavetelitheme') # If the symlink to be created exists, warn the user and do nothing if File.exists?(main_app_path) |