1
0
Fork 0
forked from OpenNeo/impress
impress/app/controllers/sitemap_controller.rb

10 lines
187 B
Ruby

class SitemapController < ApplicationController
layout nil
def index
respond_to do |format|
format.xml { @items = Item.includes(:translations).sitemap }
end
end
end