debian-mirror-gitlab/lib/banzai/pipeline/post_process_pipeline.rb
2016-06-02 11:05:42 +05:30

18 lines
345 B
Ruby

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