Module: Pageflow::Sitemaps Private
- Defined in:
- app/models/pageflow/sitemaps.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Class Method Summary collapse
- .entries_for(site:) ⇒ Object private
Class Method Details
.entries_for(site:) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
4 5 6 7 8 9 10 11 12 |
# File 'app/models/pageflow/sitemaps.rb', line 4 def self.entries_for(site:) PublishedEntry.wrap_all( site .entries .published_without_password_protection .published_without_noindex .order('first_published_at DESC') ) end |