Sha256: f62fc375fbe5b501c256f37048bfbe21b568cf765b746d5e6ab591c74efd34a4
Contents?: true
Size: 457 Bytes
Versions: 1
Compression:
Stored size: 457 Bytes
Contents
class BcmsSeoSitemap::SitemapsController < Cms::BaseController layout 'cms/administration' check_permissions :administrate before_filter :set_menu_section def edit @depth = BcmsSeoSitemap::Generator.depth end def update BcmsSeoSitemap::Generator.depth = params[:depth] flash[:notice] = "Sitemap depth updated" redirect_to :action => :edit end private def set_menu_section @menu_section = 'xml_sitemaps' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bcms_seo_sitemap-1.2.0 | app/controllers/bcms_seo_sitemap/sitemaps_controller.rb |