Sha256: 4004c70ebaa103cb628763ca22429195ab4aee6eb97e2ece6f3703de059e4455
Contents?: true
Size: 422 Bytes
Versions: 9
Compression:
Stored size: 422 Bytes
Contents
class Plugins::Sidebars::CategoryController < Sidebars::ComponentPlugin model :category 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 content @categories = Category.find_all_with_article_counters end end
Version data entries
9 entries across 9 versions & 1 rubygems