Sha256: cb53844164a3da0132f02e057a79bcdb1fca8b2cebd91d731d551d53e395b2e2

Contents?: true

Size: 191 Bytes

Versions: 2

Compression:

Stored size: 191 Bytes

Contents

class Cms::SitemapsController < Spud::ApplicationController
  respond_to :xml
  def show
    @pages = SpudPage.published_pages.viewable.order(:spud_page_id)
    respond_with @pages
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tb_cms-1.3.0 app/controllers/cms/sitemaps_controller.rb
tb_cms-1.3.beta1 app/controllers/cms/sitemaps_controller.rb