engine/app/controllers/locomotive/public/sitemaps_controller.rb

14 lines
221 B
Ruby
Raw Normal View History

module Locomotive
module Public
class SitemapsController < BaseController
respond_to :xml
def show
@pages = current_site.pages.published
respond_with @pages
end
end
end
end