debian-mirror-gitlab/lib/banzai/pipeline/post_process_pipeline.rb
2018-03-17 18:26:18 +05:30

20 lines
422 B
Ruby

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