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,
|
2016-08-24 13:11:48 -04:00
|
|
|
Filter::IssuableStateFilter,
|
2015-12-15 09:51:16 -05:00
|
|
|
Filter::RedactorFilter
|
|
|
|
]
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.transform_context(context)
|
|
|
|
context.merge(
|
|
|
|
post_process: true
|
|
|
|
)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|