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