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@6093 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
37dc9aeac2
commit
aa2fd98890
|
@ -14,7 +14,7 @@ class RedminePluginModelGenerator < ModelGenerator
|
||||||
end
|
end
|
||||||
|
|
||||||
def destination_root
|
def destination_root
|
||||||
File.join(RAILS_ROOT, plugin_path)
|
File.join(Rails.root, plugin_path)
|
||||||
end
|
end
|
||||||
|
|
||||||
def manifest
|
def manifest
|
||||||
|
|
Loading…
Reference in New Issue