Sha256: 9a70d941a3a926d1ade6063a11f1d28a0fa9850265bc8d68336f083c35a0e350
Contents?: true
Size: 539 Bytes
Versions: 43
Compression:
Stored size: 539 Bytes
Contents
# -*- encoding : utf-8 -*- class FixSkinImages < Card::Migration::Core 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
43 entries across 43 versions & 1 rubygems