2015-12-15 09:51:16 -05:00
|
|
|
module Banzai
|
|
|
|
module Pipeline
|
2015-10-21 06:18:23 -04:00
|
|
|
class EmailPipeline < FullPipeline
|
2017-09-12 11:14:54 -04:00
|
|
|
def self.filters
|
|
|
|
super.tap do |filter_array|
|
|
|
|
filter_array.delete(Banzai::Filter::ImageLazyLoadFilter)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-10-21 06:18:23 -04:00
|
|
|
def self.transform_context(context)
|
2015-12-15 09:51:16 -05:00
|
|
|
super(context).merge(
|
2015-10-21 06:18:23 -04:00
|
|
|
only_path: false
|
|
|
|
)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|