FEATURE: Create IE Support Plugin (#8520)
This core plugin, which could be split off in the future, allows us to load IE specific code on demand. Co-authored-by: jjaffeux <j.jaffeux@gmail.com>
This commit is contained in:
@@ -84,7 +84,7 @@ class Plugin::Instance
|
||||
|
||||
def register_anonymous_cache_key(key, &block)
|
||||
key_method = "key_#{key}"
|
||||
add_to_class(Middleware::AnonymousCache, key_method, &block)
|
||||
add_to_class(Middleware::AnonymousCache::Helper, key_method, &block)
|
||||
Middleware::AnonymousCache.cache_key_segments[key] = key_method
|
||||
Middleware::AnonymousCache.compile_key_builder
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user