aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/lib/action_mailer/caching.rb
blob: 319909d1a7398dc2a7c6da2bee9b40093f66bfb4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'action_dispatch/caching'

module ActionMailer
  module Caching
    extend ActiveSupport::Autoload
    extend ActiveSupport::Concern
    included do
      include ActionDispatch::Caching
    end

    def perform_caching
      Base.perform_caching
    end

    def controller_name
      "ActionMailer"
    end
  end
end