aboutsummaryrefslogtreecommitdiffstats
path: root/install.rb
diff options
context:
space:
mode:
Diffstat (limited to 'install.rb')
-rw-r--r--install.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.rb b/install.rb
index fa9dcdf..4aee9f7 100644
--- a/install.rb
+++ b/install.rb
@@ -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)