forked from bofh/fetsite
neuigkeiten sort und ability
This commit is contained in:
7
lib/tasks/neuigkeit_cache.rake
Normal file
7
lib/tasks/neuigkeit_cache.rake
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace :neuigkeit_cache do
|
||||
task :update =>:environment do
|
||||
Neuigkeit.all.each do |n|
|
||||
n.update_cache
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user