blob: b5ab5746c52291a8e9f9bcd38c37d1ca3336895c (
plain) (
tree)
|
|
module Refinery
module Blog
class CategoriesController < BlogController
def show
@category = Refinery::Blog::Category.friendly.find(params[:id])
@posts = @category.posts.live.includes(:comments, :categories).with_globalize.page(params[:page])
end
end
end
end
|