aboutsummaryrefslogtreecommitdiffstats
path: root/install.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-08-20 09:37:13 +0100
committerLouise Crow <louise.crow@gmail.com>2013-08-20 09:37:13 +0100
commitfccffdf4f70d5f9fa12ad6e75187be1728026823 (patch)
tree7d60b327cff1a2aa2f0d1ff5e5b3ed65791966b7 /install.rb
parent550b1e66a97f34ae05f0ff425bd1dd768ed90ec2 (diff)
parentf1f0e1762d368b074bc99ad0a344b33ddc4d33a8 (diff)
Merge branch 'master' into develop
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)