mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
Add journal formatter to wiki_page
This commit is contained in:
@@ -54,6 +54,8 @@ class WikiPage < ApplicationRecord
|
||||
|
||||
acts_as_journalized
|
||||
|
||||
register_journal_formatted_fields(:wiki_diff, 'text')
|
||||
|
||||
attr_accessor :redirect_existing_links
|
||||
|
||||
validates :title, presence: true
|
||||
|
||||
Reference in New Issue
Block a user