debian-mirror-gitlab/lib/banzai/pipeline/post_process_pipeline.rb
2017-08-17 22:00:37 +05:30

19 lines
384 B
Ruby

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