mirror of
https://github.com/redmine/redmine.git
synced 2025-10-26 07:46:17 +01:00
Make common_mark the default text formatting for new installations (#34863).
git-svn-id: https://svn.redmine.org/redmine/trunk@21897 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -4,6 +4,10 @@ class CreateSettings < ActiveRecord::Migration[4.2]
|
||||
t.column "name", :string, :limit => 30, :default => "", :null => false
|
||||
t.column "value", :text
|
||||
end
|
||||
|
||||
# Persist text_formatting default setting for new installations
|
||||
setting = Setting.new(:name => "text_formatting", :value => Setting.text_formatting)
|
||||
setting.save!
|
||||
end
|
||||
|
||||
def self.down
|
||||
|
||||
Reference in New Issue
Block a user