Sha256: bc2e324cb42968b4ff1467e85a41933b287cb0676da815823b3b73548158f8cb
Contents?: true
Size: 298 Bytes
Versions: 24
Compression:
Stored size: 298 Bytes
Contents
module Concerns module FestivitySearchCaching extend ActiveSupport::Concern included do caches_action :index, cache_path: proc { |c| c.params.except(:_).merge(format: request.xhr?, base_domain: "#{request.subdomain}.#{request.domain}")} caches_action :show end end end
Version data entries
24 entries across 24 versions & 1 rubygems