Sha256: 058935ec5943a6fd149e60987ef820d763afeaccb59958bf50343f878593dc44
Contents?: true
Size: 1.01 KB
Versions: 4
Compression:
Stored size: 1.01 KB
Contents
xml.instruct! :xml, version: "1.0", encoding: "utf-8" xml.feed xmlns: "http://www.w3.org/2005/Atom" do xml.id Quadro.railtie_routes_url_helpers.page_url(root) xml.title root.title xml.updated l(root.updated_at, format: :atom, locale: :en) xml.subtitle root.summary xml.link href: Quadro.railtie_routes_url_helpers.atom_url, rel: "self" xml.link href: Quadro.railtie_routes_url_helpers.root_url xml.icon absolute_url(root.cover.url(:thumb)) xml.logo absolute_url(root.cover.url(:small)) xml.generator Quadro::SIGNATURE root.descendants.ordered.each do |page| xml.entry do xml.id Quadro.railtie_routes_url_helpers.page_url(page) xml.title page.title xml.updated l(page.updated_at, format: :atom, locale: :en) xml.published l(page.created_at, format: :atom, locale: :en) xml.summary page.summary xml.author do xml.name page.author_name xml.email page.author_email end xml.link href: Quadro.railtie_routes_url_helpers.page_url(page) end end end
Version data entries
4 entries across 4 versions & 1 rubygems