BigW Consortium Gitlab

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

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