gitlab-org--gitlab-foss/lib/banzai/pipeline/post_process_pipeline.rb
2016-01-14 11:30:28 +01:00

18 lines
334 B
Ruby

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