debian-mirror-gitlab/lib/banzai/pipeline/post_process_pipeline.rb

21 lines
422 B
Ruby
Raw Normal View History

2015-12-23 02:04:40 +05:30
module Banzai
module Pipeline
class PostProcessPipeline < BasePipeline
def self.filters
2016-06-02 11:05:42 +05:30
FilterArray[
2018-03-17 18:26:18 +05:30
Filter::RedactorFilter,
2015-12-23 02:04:40 +05:30
Filter::RelativeLinkFilter,
2017-08-17 22:00:37 +05:30
Filter::IssuableStateFilter,
2018-03-17 18:26:18 +05:30
Filter::AbsoluteLinkFilter
2015-12-23 02:04:40 +05:30
]
end
def self.transform_context(context)
context.merge(
post_process: true
)
end
end
end
end