Sha256: bb8f8ef52055dd1728c975d826f4fe12dfb3639fe99e7b0f8064da114812b6ad

Contents?: true

Size: 260 Bytes

Versions: 11

Compression:

Stored size: 260 Bytes

Contents

if begin
  CamaleonCms::Site.any?
rescue StandardError
  false
end
  CamaleonCms::Site.all.each do |site|
    site.set_option('refresh_cache', true)
  end
end

module Plugins
  module FrontCache
    module Config
      class Initializer; end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
camaleon_cms-2.9.0 app/apps/plugins/front_cache/config/initializer.rb
camaleon_cms-2.8.3 app/apps/plugins/front_cache/config/initializer.rb
camaleon_cms-2.8.2 app/apps/plugins/front_cache/config/initializer.rb
camaleon_cms-2.8.1 app/apps/plugins/front_cache/config/initializer.rb
camaleon_cms-2.8.0 app/apps/plugins/front_cache/config/initializer.rb
camaleon_cms-2.7.5 app/apps/plugins/front_cache/config/initializer.rb
camaleon_cms-2.7.4 app/apps/plugins/front_cache/config/initializer.rb
camaleon_cms-2.7.3 app/apps/plugins/front_cache/config/initializer.rb
camaleon_cms-2.7.2 app/apps/plugins/front_cache/config/initializer.rb
camaleon_cms-2.7.1 app/apps/plugins/front_cache/config/initializer.rb
camaleon_cms-2.7.0 app/apps/plugins/front_cache/config/initializer.rb