Class: Locomotive::Public::SitemapsController
- Inherits:
-
BaseController
- Object
- ApplicationController
- BaseController
- Locomotive::Public::SitemapsController
- Defined in:
- app/controllers/locomotive/public/sitemaps_controller.rb
Instance Method Summary collapse
Methods included from ActionController::UrlHelpers
#current_site_public_url, #public_page_url, #switch_to_site_url
Methods included from ActionController::SectionHelpers
Methods included from ActionController::LocaleHelpers
#back_to_default_site_locale, #current_content_locale, #localized?, #set_back_office_locale, #set_current_content_locale, #setup_i18n_fallbacks
Instance Method Details
#show ⇒ Object
7 8 9 10 |
# File 'app/controllers/locomotive/public/sitemaps_controller.rb', line 7 def show @pages = current_site.pages.published.order_by(:depth.asc, :position.asc) respond_with @pages end |