Sha256: e2dddc0ec84e932937826503bda61a66e15e82e0d2b41d4745ef55b2101ce20e
Contents?: true
Size: 333 Bytes
Versions: 28
Compression:
Stored size: 333 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.db_content.gsub "<body>", '<body class="right-sidebar">' layout.update_attributes! content: new_content end end end
Version data entries
28 entries across 28 versions & 1 rubygems