Load rake tasks from Redmine plugins (#10816).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9615 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-05-02 16:30:16 +00:00
parent d2278b63a1
commit 36ee2b24bd
1 changed files with 3 additions and 0 deletions

View File

@ -84,3 +84,6 @@ namespace :redmine do
end
end
end
# Load plugins' rake tasks
Dir[File.join(Rails.root, "plugins/*/lib/tasks/**/*.rake")].sort.each { |ext| load ext }