From 456521bbed42a60160f1b4d6aa53ea1c90cf51b5 Mon Sep 17 00:00:00 2001 From: dinedine Date: Sat, 22 Jan 2011 14:09:29 +0100 Subject: [PATCH] sitemap functionnality works with engine --- app/controllers/admin/sitemaps_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/admin/sitemaps_controller.rb b/app/controllers/admin/sitemaps_controller.rb index 01f5b4a7..a52abab7 100644 --- a/app/controllers/admin/sitemaps_controller.rb +++ b/app/controllers/admin/sitemaps_controller.rb @@ -7,6 +7,8 @@ module Admin respond_to :xml + helper 'admin/pages' + def show @pages = current_site.pages.published @host = request.host