Sha256: 4cea71adaa1c8edc7406dc65e9d53a3e11c1fb7c30cd8419adc126bb13b7c618

Contents?: true

Size: 261 Bytes

Versions: 3

Compression:

Stored size: 261 Bytes

Contents

class FrontEnd::SitemapController < FrontEndController

  def index
    @latest = Dust::MenuItem.last
    respond_to do |format|
      format.xml  { @menu_items = Dust::MenuItem.sitemap}
      format.html { @menu_items = Dust::MenuItem.all }
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dust-cms-0.0.07 app/controllers/front_end/sitemap_controller.rb
dust-cms-0.0.06 app/controllers/front_end/sitemap_controller.rb
dust-cms-0.0.05 app/controllers/front_end/sitemap_controller.rb