diff options
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 |