fix delay impressionist for tags and pages

This commit is contained in:
Matt K. Fu committed 2013-07-19 17:00:38 +08:00
1 parent f025c98ffa
commit 8043573370
11 files changed
+59 -15

No files matched your search

+3
View File
@@ -320,6 +320,9 @@ namespace :migrate do
end
end
end
task :clear_news_tags => :environment do
`mongo #{Mongoid.config.database.name} --eval "db.tags.remove({_type: {$ne: 'Tag'}})"`
end
end