Sha256: e76a163094faf5767ab4dd378883cd8101f2cc9cfc179db7c1aaa6c76068bbcd

Contents?: true

Size: 272 Bytes

Versions: 14

Compression:

Stored size: 272 Bytes

Contents

module Admin
  class SitemapsController < ActionController::Base

    include Locomotive::Routing::SiteDispatcher

    before_filter :require_site

    respond_to :xml

    def show
      @pages = current_site.pages.published
      @host = request.host
    end

  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
locomotive_cms-1.0.0.beta.2 app/controllers/admin/sitemaps_controller.rb
locomotive_cms-1.0.0.beta app/controllers/admin/sitemaps_controller.rb
locomotive_cms-0.0.4.beta12 app/controllers/admin/sitemaps_controller.rb
locomotive_cms-0.0.4.beta11 app/controllers/admin/sitemaps_controller.rb
locomotive_cms-0.0.4.beta10 app/controllers/admin/sitemaps_controller.rb
locomotive_cms-0.0.4.beta9 app/controllers/admin/sitemaps_controller.rb
locomotive_cms-0.0.4.beta8 app/controllers/admin/sitemaps_controller.rb
locomotive_cms-0.0.4.beta7 app/controllers/admin/sitemaps_controller.rb
locomotive_cms-0.0.4.beta5 app/controllers/admin/sitemaps_controller.rb
locomotive_cms-0.0.4.beta4 app/controllers/admin/sitemaps_controller.rb
locomotive_cms-0.0.4.beta3 app/controllers/admin/sitemaps_controller.rb
locomotive_cms-0.0.4.beta2 app/controllers/admin/sitemaps_controller.rb
locomotive_cms-0.0.4.beta1 app/controllers/admin/sitemaps_controller.rb
locomotive_cms-0.0.4 app/controllers/admin/sitemaps_controller.rb