BigW Consortium Gitlab

post_process_pipeline.rb 384 Bytes
Newer Older
1 2 3 4
module Banzai
  module Pipeline
    class PostProcessPipeline < BasePipeline
      def self.filters
5
        FilterArray[
6
          Filter::RelativeLinkFilter,
7
          Filter::IssuableStateFilter,
8 9 10 11 12 13 14 15 16 17 18 19
          Filter::RedactorFilter
        ]
      end

      def self.transform_context(context)
        context.merge(
          post_process: true
        )
      end
    end
  end
end