File: action_caching.rb

package info (click to toggle)
ruby-actionpack-action-caching 1.2.2-4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 288 kB
  • sloc: ruby: 864; makefile: 6
file content (15 lines) | stat: -rw-r--r-- 282 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require "action_controller/caching/actions"

module ActionController
  module Caching
    extend ActiveSupport::Autoload

    eager_autoload do
      autoload :Actions
    end

    include Actions
  end
end

ActionController::Base.send(:include, ActionController::Caching::Actions)