engine/app/controllers/admin/sitemaps_controller.rb

16 lines
273 B
Ruby

module Admin
class SitemapsController < BaseController
skip_before_filter :authenticate_admin!, :validate_site_membership, :set_locale
before_filter :require_site
respond_to :xml
def show
@pages = current_site.pages.published
end
end
end