10 lines
187 B
Ruby
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
|
|
|