class Buttercms::CategoriesController

Public Instance Methods

show() click to toggle source
# File lib/generators/templates/app/controllers/buttercms/categories_controller.rb, line 2
def show
  @category = ButterCMS::Category.find(params[:slug], :include => :recent_posts)
end