Class: Decidim::DecidimAwesome::MigrateLegacyImagesJob
- Inherits:
-
ApplicationJob
- Object
- ApplicationJob
- Decidim::DecidimAwesome::MigrateLegacyImagesJob
- Defined in:
- app/jobs/decidim/decidim_awesome/migrate_legacy_images_job.rb
Instance Method Summary collapse
Instance Method Details
#perform(organization_id, mappings = [], logger = Rails.logger) ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'app/jobs/decidim/decidim_awesome/migrate_legacy_images_job.rb', line 8 def perform(organization_id, mappings = [], logger = Rails.logger) @organization_id = organization_id @routes_mappings = mappings @logger = logger migrate_all! transform_images_urls end |