Sha256: 4aa016ede187c124ac5070b0b991a5aeb2b09947bf89655a77caca6e256f1555
Contents?: true
Size: 369 Bytes
Versions: 34
Compression:
Stored size: 369 Bytes
Contents
# frozen_string_literal: true module Decidim # Helper overrides for the ActionView::Helpers::CacheHelper in order to take # locale into account for fragment caching. module CacheHelper # See: https://git.io/J3ouj def cache(name = {}, options = {}, &block) name = Array(name) + [current_locale] super(name, options, &block) end end end
Version data entries
34 entries across 34 versions & 1 rubygems