summaryrefslogtreecommitdiffstats
path: root/lib/generators/redmine_plugin_controller
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-06-17 06:47:40 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-06-17 06:47:40 +0000
commit37dc9aeac2f8d9f3a0b35d6a08145c452f175c4b (patch)
treecfd206b4d18113d0dee9c5694aae63f8682923cf /lib/generators/redmine_plugin_controller
parent391760a6660617bf19babde28a0807d45a22f25e (diff)
downloadredmine-37dc9aeac2f8d9f3a0b35d6a08145c452f175c4b.tar.gz
redmine-37dc9aeac2f8d9f3a0b35d6a08145c452f175c4b.zip
replace RAILS_ROOT to Rails.root at lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6092 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/generators/redmine_plugin_controller')
-rw-r--r--lib/generators/redmine_plugin_controller/redmine_plugin_controller_generator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/generators/redmine_plugin_controller/redmine_plugin_controller_generator.rb b/lib/generators/redmine_plugin_controller/redmine_plugin_controller_generator.rb
index 7f3f3f68e..24d3af8e4 100644
--- a/lib/generators/redmine_plugin_controller/redmine_plugin_controller_generator.rb
+++ b/lib/generators/redmine_plugin_controller/redmine_plugin_controller_generator.rb
@@ -14,7 +14,7 @@ class RedminePluginControllerGenerator < ControllerGenerator
end
def destination_root
- File.join(RAILS_ROOT, plugin_path)
+ File.join(Rails.root, plugin_path)
end
def manifest