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[
|
2015-12-23 02:04:40 +05:30
|
|
|
Filter::RelativeLinkFilter,
|
|
|
|
Filter::RedactorFilter
|
|
|
|
]
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.transform_context(context)
|
|
|
|
context.merge(
|
|
|
|
post_process: true
|
|
|
|
)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|