Sha256: b2d3035bd107fa2908e0d9ae64d1e77af977d9b7328fa485b228603303f261b4
Contents?: true
Size: 368 Bytes
Versions: 21
Compression:
Stored size: 368 Bytes
Contents
class CategorySidebar < Sidebar display_name "Categories" description "List of categories for this blog" setting :count, true, :label => 'Show article count', :input_type => :checkbox setting :empty, false, :label => 'Show empty categories', :input_type => :checkbox def categories @categories ||= Category.find_all_with_article_counters end end
Version data entries
21 entries across 21 versions & 1 rubygems