summaryrefslogtreecommitdiffstats
path: root/lib/tasks/redmine.rake
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-04-28 11:07:59 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-04-28 11:07:59 +0000
commit5985713335eb8579c1df1bee271c6e350797c172 (patch)
tree04456aa5dbec20a530f518d9542f793c919f30aa /lib/tasks/redmine.rake
parent68f8470d4af60c71d024059b96ad53f2968b1bf2 (diff)
downloadredmine-5985713335eb8579c1df1bee271c6e350797c172.tar.gz
redmine-5985713335eb8579c1df1bee271c6e350797c172.zip
Restores plugin assets mirroring on startup, but it can now be disabled in configuration.yml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9561 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/tasks/redmine.rake')
-rw-r--r--lib/tasks/redmine.rake5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/tasks/redmine.rake b/lib/tasks/redmine.rake
index 8a6b98b44..0422785ce 100644
--- a/lib/tasks/redmine.rake
+++ b/lib/tasks/redmine.rake
@@ -59,10 +59,7 @@ namespace :redmine do
desc 'Copies plugins assets into the public directory.'
task :assets => :environment do
- Redmine::Plugin.all.each do |plugin|
- puts "Copying #{plugin.name} assets..."
- plugin.mirror_assets
- end
+ Redmine::Plugin.mirror_assets
end
end
end