Sha256: ec0e95e91472a5b1b2eae36a113ea8fcd4d2e6a2685c4a270a8ce1ecce0d95ca
Contents?: true
Size: 475 Bytes
Versions: 7
Compression:
Stored size: 475 Bytes
Contents
# -*- encoding : utf-8 -*- class CommonCssPatch < ActiveRecord::Migration include Wagn::MigrationHelper def up contentedly do dir = "#{Wagn.gem_root}/db/migrate_cards/data/1.12_stylesheets" card = Card["style: common"] if card && card.pristine? card.update_attributes! :content=>File.read("#{dir}/common.scss") end Card::Set::Right::Style.delete_style_files end end def down contentedly do end end end
Version data entries
7 entries across 7 versions & 1 rubygems