FIX: only show regular posts in RSS feed
This commit is contained in:
parent
41208b99a1
commit
13fa0f8cf8
|
@ -92,6 +92,7 @@ class PostsController < ApplicationController
|
|||
|
||||
posts = Post.public_posts
|
||||
.where(user_id: user.id)
|
||||
.where(post_type: Post.types[:regular])
|
||||
.order(created_at: :desc)
|
||||
.includes(:user)
|
||||
.includes(topic: :category)
|
||||
|
|
Loading…
Reference in New Issue