Skip to content

Commit ae1b693

Browse files
committed
Merge branch 'develop'
2 parents 3c98794 + 2d90976 commit ae1b693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/rss/v2/rss_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class RssController < ApplicationController
44
include RssHelper
55

66
def index
7-
@content_items = rss_content_type.content_items.select { |content_item| content_item.state == "published" }
7+
@content_items = rss_content_type.content_items.select { |content_item| content_item.published? }
88
end
99
end
1010
end

0 commit comments

Comments
 (0)