Sha256: af1607a66d4803260627329449a294a1ec3789b7566550ffa57c530e1f1afbcb

Contents?: true

Size: 640 Bytes

Versions: 2

Compression:

Stored size: 640 Bytes

Contents

module ArchiveMenuRenderer
  def excluded_class_names
    excluded_from_this = Array(ArchiveMenuRenderer.instance_variable_get(:@excluded_class_names))
    excluded_from_this << 'ArchivePage'
    result = if defined?(super)
      super + excluded_from_this
    else
      excluded_from_this
    end
    result - ['ArchiveDayIndexPage', 'ArchiveMonthIndexPage', 'ArchiveYearIndexPage']
  end
end

module ArchiveDayIndexMenuRenderer
  def add_child_disabled?
    true
  end
end

module ArchiveMonthIndexMenuRenderer
  def add_child_disabled?
    true
  end
end

module ArchiveYearIndexMenuRenderer
  def add_child_disabled?
    true
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
radiant-1.0.0 ruby-debug/ruby/1.8/gems/radiant-archive-extension-1.0.7/app/models/archive_menu_renderer.rb
radiant-archive-extension-1.0.7 app/models/archive_menu_renderer.rb