Sha256: 5e24cc9c41da011ee45f9228e273de700f459281706ea4b878c4af062950d3b6
Contents?: true
Size: 328 Bytes
Versions: 14
Compression:
Stored size: 328 Bytes
Contents
# -*- encoding : utf-8 -*- class ResponsiveSidebar < Card::CoreMigration def up if (layout = Card.fetch 'Default Layout') && layout.updater.id == Card::WagnBotID new_content = layout.content.gsub '<body>', '<body class="right-sidebar">' layout.update_attributes! content: new_content end end end
Version data entries
14 entries across 14 versions & 1 rubygems