Sha256: 9fdc076b25c2e113a7cf1554056e57499eadf25990048e84fc8f9655bac56ef0

Contents?: true

Size: 569 Bytes

Versions: 5

Compression:

Stored size: 569 Bytes

Contents

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

class AddGuides < Cardio::Migration
  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
    ensure_card "*guide", codename: "guide", type_id: Card::SettingID
    Card::Cache.reset_all
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
card-1.101.4 db/migrate_core_cards/20190718140126_add_guides.rb
card-1.101.3 db/migrate_core_cards/20190718140126_add_guides.rb
card-1.101.2 db/migrate_core_cards/20190718140126_add_guides.rb
card-1.101.1 db/migrate_core_cards/20190718140126_add_guides.rb
card-1.101.0 db/migrate_core_cards/20190718140126_add_guides.rb