app/controllers/qbrick/sitemaps_controller.rb in qbrick-2.6.0 vs app/controllers/qbrick/sitemaps_controller.rb in qbrick-2.6.1
- old
+ new
@@ -4,10 +4,10 @@
last_page = Qbrick::Page.published.last
return unless stale?(etag: last_page, last_modified: last_page.updated_at.utc)
respond_to do |format|
format.html
- format.xml { @pages = Qbrick::Page.published }
+ format.xml { @pages = Qbrick::Page.all }
end
end
end
end