Sha256: 1b77755a46c6a9566655006440cd88f85237ff9577a8ce32f05c45cd65cb970e

Contents?: true

Size: 335 Bytes

Versions: 2

Compression:

Stored size: 335 Bytes

Contents

module Forge
  module Controllers
    module Posts
      def get_archive_months
        @months = Post.get_archive_months
      end
      private_method :get_archive_months

      def get_post_categories
        @post_categories = PostCategory.all(:order => :title)
      end
      private_method :get_post_categories
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
forge-cli-0.0.10 lib/forge/config/initializers/forge/controllers/posts.rb
forge-cli-0.0.9 lib/forge/config/initializers/forge/controllers/posts.rb