Sha256: 0c6b0c6bb6395877d64926b46e335e050c3bc5f33cb018fa1848a33466cc48a7

Contents?: true

Size: 265 Bytes

Versions: 21

Compression:

Stored size: 265 Bytes

Contents

module Locomotive
  module Public
    class SitemapsController < Public::BaseController

      respond_to :xml

      def show
        @pages = current_site.pages.published.order_by(:depth.asc, :position.asc)
        respond_with @pages
      end

    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
locomotive_cms-2.5.4 app/controllers/locomotive/public/sitemaps_controller.rb
locomotive_cms-2.5.3 app/controllers/locomotive/public/sitemaps_controller.rb
locomotive_cms-2.5.2 app/controllers/locomotive/public/sitemaps_controller.rb
locomotive_cms-2.5.1 app/controllers/locomotive/public/sitemaps_controller.rb
locomotive_cms-2.5.0 app/controllers/locomotive/public/sitemaps_controller.rb
locomotive_cms-2.5.0.rc3 app/controllers/locomotive/public/sitemaps_controller.rb
locomotive_cms-2.5.0.rc2 app/controllers/locomotive/public/sitemaps_controller.rb
locomotive_cms-2.5.0.rc1 app/controllers/locomotive/public/sitemaps_controller.rb
locomotive_cms-2.4.1 app/controllers/locomotive/public/sitemaps_controller.rb
locomotive_cms-2.4.0 app/controllers/locomotive/public/sitemaps_controller.rb
locomotive_cms-2.3.1 app/controllers/locomotive/public/sitemaps_controller.rb
locomotive_cms-2.3.0 app/controllers/locomotive/public/sitemaps_controller.rb
locomotive_cms-2.2.3 app/controllers/locomotive/public/sitemaps_controller.rb
locomotive_cms-2.2.2 app/controllers/locomotive/public/sitemaps_controller.rb
locomotive_cms-2.2.1 app/controllers/locomotive/public/sitemaps_controller.rb
locomotive_cms-2.2.0 app/controllers/locomotive/public/sitemaps_controller.rb
locomotive_cms-2.1.4 app/controllers/locomotive/public/sitemaps_controller.rb
locomotive_cms-2.1.3 app/controllers/locomotive/public/sitemaps_controller.rb
locomotive_cms-2.1.2 app/controllers/locomotive/public/sitemaps_controller.rb
locomotive_cms-2.1.1 app/controllers/locomotive/public/sitemaps_controller.rb