Sha256: 688b7b0b955c5e083258e3d413742fb64522e2981120eda4ee9f376d7df0fd6e

Contents?: true

Size: 198 Bytes

Versions: 4

Compression:

Stored size: 198 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spud_blog-0.5.1 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.5.0 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.4.0 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.2.2 app/controllers/spud/blog/sitemaps_controller.rb