Sha256: 6b8ac344b77001f76af3202c1ed47e7ae1fe70626970c2585658a24c00b19da9

Contents?: true

Size: 351 Bytes

Versions: 21

Compression:

Stored size: 351 Bytes

Contents

class Spud::Blog::SitemapsController < Spud::ApplicationController
	respond_to :xml
	caches_action :show, :expires_in => 1.day, :if => Proc.new{ |c| Spud::Blog.config.enable_action_caching }
	caches_page :show, :if => Proc.new{ |c| Spud::Blog.config.enable_full_page_caching }
	def show
		@posts = SpudPost.publicly.all
		respond_with @pages
	end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
spud_blog-0.8.18 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.8.17 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.8.16 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.8.15 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.8.14 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.8.13 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.8.12 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.8.11 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.8.8 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.8.7 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.8.6 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.8.5 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.8.4 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.8.3 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.8.2 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.8.1 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.8.0 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.7.5 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.7.4 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.7.2 app/controllers/spud/blog/sitemaps_controller.rb