Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
toastercup committed Apr 27, 2017
2 parents 3c98794 + 2d90976 commit ae1b693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/rss/v2/rss_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class RssController < ApplicationController
include RssHelper

def index
@content_items = rss_content_type.content_items.select { |content_item| content_item.state == "published" }
@content_items = rss_content_type.content_items.select { |content_item| content_item.published? }
end
end
end
Expand Down

0 comments on commit ae1b693

Please sign in to comment.