diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-06-17 06:47:40 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-06-17 06:47:40 +0000 |
commit | 37dc9aeac2f8d9f3a0b35d6a08145c452f175c4b (patch) | |
tree | cfd206b4d18113d0dee9c5694aae63f8682923cf /lib/generators | |
parent | 391760a6660617bf19babde28a0807d45a22f25e (diff) | |
download | redmine-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')
-rw-r--r-- | lib/generators/redmine_plugin_controller/redmine_plugin_controller_generator.rb | 2 |
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 |