2015-12-15 09:51:16 -05:00
|
|
|
module Banzai
|
|
|
|
module Pipeline
|
|
|
|
class PostProcessPipeline < BasePipeline
|
|
|
|
def self.filters
|
2016-03-01 15:54:35 -05:00
|
|
|
FilterArray[
|
2015-12-15 09:51:16 -05:00
|
|
|
Filter::RelativeLinkFilter,
|
|
|
|
Filter::RedactorFilter
|
|
|
|
]
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.transform_context(context)
|
|
|
|
context.merge(
|
|
|
|
post_process: true
|
|
|
|
)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|