debian-mirror-gitlab/lib/banzai/pipeline/post_process_pipeline.rb
2015-12-23 02:04:40 +05:30

20 lines
352 B
Ruby

require 'banzai'
module Banzai
module Pipeline
class PostProcessPipeline < BasePipeline
def self.filters
[
Filter::RelativeLinkFilter,
Filter::RedactorFilter
]
end
def self.transform_context(context)
context.merge(
post_process: true
)
end
end
end
end