Sha256: 42c68c72626b69d7d934f637ec7d3442a480c76276e289570e84966ef974a53a
Contents?: true
Size: 538 Bytes
Versions: 7
Compression:
Stored size: 538 Bytes
Contents
# -*- encoding : utf-8 -*- class FixSkinImages < Card::CoreMigration def up # This is needed because the bootswatch_themes migration removed codenames. # They were no longer needed for style handling but are still needed for images %w(bootstrap_default cerulean cosmo cyborg darkly flatly journal lumen paper readable sandstone simplex slate spacelab superhero united yeti ).each do |theme_name| theme_name = "#{theme_name}_skin" Card.fetch(theme_name).update_attributes! codename: theme_name end end end
Version data entries
7 entries across 7 versions & 1 rubygems