Sha256: b260743c5f9748fca5235fb92dd3631d4f2a8739325dbfa1556fcc79139de8d0
Contents?: true
Size: 330 Bytes
Versions: 17
Compression:
Stored size: 330 Bytes
Contents
# -*- encoding : utf-8 -*- class ResponsiveSidebar < Card::Migration::Core 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
17 entries across 17 versions & 1 rubygems