Partial sitemap

This commit is contained in:
Christophe Vilayphiou committed 2012-07-27 19:13:39 +08:00
1 parent 12f9f666eb
commit db9c4c0e10
7 files changed
+390 -40

No files matched your search

+14 -8
View File
@@ -19,22 +19,28 @@ class Admin::SitesController < ApplicationController
redirect_to :back
end
def mail_setting
end
def site_info
end
def sitemap
@items = get_homepage.children rescue []
end
def sitemap_toggle
@item = Item.find(params[:id])
@item.sitemap_enabled = !@item.sitemap_enabled
@item.save
end
def system_info
end
def language
end
def mail_setting
end
def ui_theme
end