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