Sha256: 3b667aaa561f8e6f8058d1d2a16e9ea1ba8fc90af12cdf90827f68480da2f22c

Contents?: true

Size: 201 Bytes

Versions: 2

Compression:

Stored size: 201 Bytes

Contents

class Spud::Blog::SitemapsController < Spud::ApplicationController
	respond_to :xml
	caches_action :show, :expires_in => 1.day
	def show
		@posts = SpudPost.publicly.all
		respond_with @pages
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spud_blog-0.6.3 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.6.0 app/controllers/spud/blog/sitemaps_controller.rb