diff options
Diffstat (limited to 'lib/redmine.rb')
-rw-r--r-- | lib/redmine.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb index 1503c1d41..eeb12e00a 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -6,6 +6,7 @@ require 'redmine/core_ext' require 'redmine/themes' require 'redmine/hook' require 'redmine/plugin' +require 'redmine/wiki_formatting' begin require_library_or_gem 'RMagick' unless Object.const_defined?(:Magick) @@ -150,3 +151,7 @@ Redmine::Activity.map do |activity| activity.register :wiki_edits, :class_name => 'WikiContent::Version', :default => false activity.register :messages, :default => false end + +Redmine::WikiFormatting.map do |format| + format.register :textile, Redmine::WikiFormatting::Textile::Formatter, Redmine::WikiFormatting::Textile::Helper +end |