We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3908251 commit e054df7Copy full SHA for e054df7
app/models/page.rb
@@ -43,10 +43,6 @@ def data = NullData.new(title: nil, description: nil)
43
# away from Sitepress for indexed content may be what‘s needed, but keeping
44
# the split personality for now.
45
#
46
- def self.as_published_articles
47
- SitepressArticle.take_published(all.map { |page| SitepressArticle.new(page.resource) })
48
- end
49
-
50
def self.upsert_collection_from_sitepress!(limit: nil)
51
# Targeting specific Sitepress models until we have a better way to make
52
# Page model aware of published state
0 commit comments