Sha256: 7c5fd51db532206a800d85e866554130c61ecbc25f15419b513c57b0211f77a5
Contents?: true
Size: 678 Bytes
Versions: 5
Compression:
Stored size: 678 Bytes
Contents
# Uncomment this if you reference any of your controllers in activate # require_dependency 'application_controller' require 'radiant-archive-extension/version' class ArchiveExtension < Radiant::Extension version RadiantArchiveExtension::VERSION description "Provides page types for news or blog archives." url "http://radiantcms.org/" def activate # allow bootstrap if Page.table_exists? ArchiveMenuRenderer # Initialize the class because it is lazily loaded MenuRenderer.exclude 'ArchiveDayIndexPage', 'ArchiveMonthIndexPage', 'ArchiveYearIndexPage' Page.class_eval do include PageChildrenCacheUpdates end end end end
Version data entries
5 entries across 5 versions & 2 rubygems