Class: Banzai::Pipeline::PostProcessPipeline

Inherits:
BasePipeline show all
Defined in:
lib/banzai/pipeline/post_process_pipeline.rb

Class Method Summary collapse

Methods inherited from BasePipeline

html_pipeline

Class Method Details

.filtersObject


4
5
6
7
8
9
# File 'lib/banzai/pipeline/post_process_pipeline.rb', line 4

def self.filters
  FilterArray[
    Filter::RelativeLinkFilter,
    Filter::RedactorFilter
  ]
end

.transform_context(context) ⇒ Object


11
12
13
14
15
# File 'lib/banzai/pipeline/post_process_pipeline.rb', line 11

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