impress/app/controllers/sitemap_controller.rb

10 lines
181 B
Ruby

class SitemapController < ApplicationController
layout nil
def index
respond_to do |format|
format.xml { @items = Item.with_translations.sitemap }
end
end
end