Module: Forge::Controllers::Posts

Defined in:
lib/forge/lib/forge/shared_controller_methods/posts.rb

Instance Method Summary collapse

Instance Method Details

#get_archive_monthsObject



4
5
6
# File 'lib/forge/lib/forge/shared_controller_methods/posts.rb', line 4

def get_archive_months
  @months = Post.get_archive_months
end

#get_post_categoriesObject



8
9
10
# File 'lib/forge/lib/forge/shared_controller_methods/posts.rb', line 8

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