Sha256: 1b57fc9fd60d4d8a4b81740c5fdb6d56e1aaab0b85bd310d6e9eda995dcef741

Contents?: true

Size: 337 Bytes

Versions: 16

Compression:

Stored size: 337 Bytes

Contents

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

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
tb_blog-1.0.4 app/controllers/spud/blog/sitemaps_controller.rb
tb_blog-1.0.3 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.9.11 app/controllers/spud/blog/sitemaps_controller.rb
tb_blog-1.0.2 app/controllers/spud/blog/sitemaps_controller.rb
tb_blog-1.0.1 app/controllers/spud/blog/sitemaps_controller.rb
tb_blog-1.0 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.9.10 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.9.9 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.9.8 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.9.7 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.9.5 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.9.4 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.9.3 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.9.2 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.9.1 app/controllers/spud/blog/sitemaps_controller.rb
spud_blog-0.9.0 app/controllers/spud/blog/sitemaps_controller.rb