Sha256: d17b4c7a872b22cd5fc5fb6234278ca1a068329f652caa04e271e33cbade2d8d
Contents?: true
Size: 335 Bytes
Versions: 3
Compression:
Stored size: 335 Bytes
Contents
module Kinney class SitemapController < KinneyController layout nil def index @people = Person.select([:id, :slug, :created_at, :updated_at]).all @clips = Clip.all headers["Content-Type"] = "text/xml" respond_to do |format| format.xml{render :layout => false} end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
kinney-0.0.3 | app/controllers/kinney/sitemap_controller.rb |
kinney-0.0.2 | app/controllers/kinney/sitemap_controller.rb |
kinney-0.0.1 | app/controllers/kinney/sitemap_controller.rb |