Sha256: 8692430bec3a730c5365634748799981b78d74d193d0db6e67902de79805fe3e

Contents?: true

Size: 292 Bytes

Versions: 2

Compression:

Stored size: 292 Bytes

Contents

# in FormHelper, #type_options has a special caching for the type options in filters.
#
# If this mod is included in the type set, it will clear that cache when items are
# added or deleted.

event :clear_cached_type_options, :integrate do
  Card.cache.delete "#{type_code}-TYPE-OPTIONS"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
card-mod-filter-0.3 set/abstract/cached_type_options.rb
card-mod-filter-0.2 set/abstract/cached_type_options.rb