Merged r6098 from trunk.

Added Project#enable_module! and Project#disable_module!

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.2-stable@6104 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Baptiste Barth
2011-06-20 19:39:59 +00:00
parent df37e5cfab
commit 16ba6bcb77
18 changed files with 131 additions and 60 deletions

View File

@@ -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

View File

@@ -14,7 +14,7 @@ class RedminePluginModelGenerator < ModelGenerator
end
def destination_root
File.join(RAILS_ROOT, plugin_path)
File.join(Rails.root, plugin_path)
end
def manifest