Class: Spina::SitemapsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/spina/sitemaps_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject



3
4
5
6
# File 'app/controllers/spina/sitemaps_controller.rb', line 3

def show
  I18n.locale = I18n.default_locale
  @pages = Page.live.sorted
end