Sha256: a01e23efc8b86b27757b523fa4e9b4f0e67953b96c43ee6ee53019aa3dc6aa98

Contents?: true

Size: 583 Bytes

Versions: 4

Compression:

Stored size: 583 Bytes

Contents

# -*- encoding : utf-8 -*-

class AddGuides < Cardio::Migration::Transform
  GUIDE = <<-MD.strip_heredoc
    #### Editing Guide

    This default guide will appear in the full editor view of any card
    without more specific guidance.  You can use it to put forward principles of style,
    rules of conduct, or any other help text you think may be of use to persons editing
    content.

    Guide content can be edited in [[\\*guide\\|\\*guide rules]].
  MD

  def up
    Card.ensure name: "*guide", codename: "guide", type_id: Card::SettingID
    Card::Cache.reset_all
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
card-1.108.1 mod/core/data/transform/20190718140126_add_guides.rb
card-1.108.0 mod/core/data/transform/20190718140126_add_guides.rb
card-1.107.0 mod/core/data/transform/20190718140126_add_guides.rb
card-1.106.0 mod/core/data/transform/20190718140126_add_guides.rb