Browse Source

Regenerate images rake task (fix)

development
Godwin 11 years ago
parent
commit
d5de21429e
  1. 4
      lib/tasks/regenerate.rake

4
lib/tasks/regenerate.rake

@ -2,7 +2,7 @@ namespace :regenerate do
desc "Regenerates images" desc "Regenerates images"
task conference_posters: :environment do task conference_posters: :environment do
Conferences.all.each {|m| m.poster.recreate_versions!} Conference.all.each {|m| m.poster.recreate_versions!}
end end
task organization_avatars: :environment do task organization_avatars: :environment do
@ -10,7 +10,7 @@ namespace :regenerate do
end end
task conference_covers: :environment do task conference_covers: :environment do
Conferences.all.each {|m| m.cover.recreate_versions!} Conference.all.each {|m| m.cover.recreate_versions!}
end end
task organization_covers: :environment do task organization_covers: :environment do

Loading…
Cancel
Save