diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-06-04 08:39:53 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-06-04 08:39:53 +0100 |
commit | 853701441060c56a0072d3523dd47fb2658cac18 (patch) | |
tree | 11c2b5304f8e10689caf6d27d14197cab1491c2a /install.rb | |
parent | 852f088c104ae74210057578f2621afaa308d098 (diff) | |
parent | 945fb4b52727115575bbb3941b1151cd21a6a60e (diff) |
Merge branch 'rails-3'use-with-alaveteli-0.12
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) |