Sha256: 108cf76b75714df51906f1698687c065173e7e277aeb507870cf8028121c8533

Contents?: true

Size: 228 Bytes

Versions: 19

Compression:

Stored size: 228 Bytes

Contents

class Spud::Cms::SitemapsController < Spud::ApplicationController
	respond_to :xml
	caches_page :show,:expires_in => 1.day
	def show
		@pages = SpudPage.published_pages.public.order(:spud_page_id)
		respond_with @pages
	end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
spud_cms-0.8.2 app/controllers/spud/cms/sitemaps_controller.rb
spud_cms-0.8.1 app/controllers/spud/cms/sitemaps_controller.rb
spud_cms-0.8.0 app/controllers/spud/cms/sitemaps_controller.rb
spud_cms-0.7.2 app/controllers/spud/cms/sitemaps_controller.rb
spud_cms-0.7.1 app/controllers/spud/cms/sitemaps_controller.rb
spud_cms-0.7.0 app/controllers/spud/cms/sitemaps_controller.rb
spud_cms-0.4.8 app/controllers/spud/cms/sitemaps_controller.rb
spud_cms-0.4.7 app/controllers/spud/cms/sitemaps_controller.rb
spud_cms-0.4.6 app/controllers/spud/cms/sitemaps_controller.rb
spud_cms-0.4.5 app/controllers/spud/cms/sitemaps_controller.rb
spud_cms-0.4.4 app/controllers/spud/cms/sitemaps_controller.rb
spud_cms-0.4.3 app/controllers/spud/cms/sitemaps_controller.rb
spud_cms-0.4.0 app/controllers/spud/cms/sitemaps_controller.rb
spud_cms-0.3.7 app/controllers/spud/cms/sitemaps_controller.rb
spud_cms-0.3.6 app/controllers/spud/cms/sitemaps_controller.rb
spud_cms-0.3.4 app/controllers/spud/cms/sitemaps_controller.rb
spud_cms-0.3.3 app/controllers/spud/cms/sitemaps_controller.rb
spud_cms-0.3.2 app/controllers/spud/cms/sitemaps_controller.rb
spud_cms-0.3.1 app/controllers/spud/cms/sitemaps_controller.rb