From 0d048de33f3dcd39a6d452bb8c8832bec138d608 Mon Sep 17 00:00:00 2001 From: Christophe Vilayphiou Date: Wed, 1 Aug 2012 17:08:07 +0800 Subject: [PATCH] Fix link in sitemap --- app/views/admin/sites/sitemap_frontend.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/sites/sitemap_frontend.html.erb b/app/views/admin/sites/sitemap_frontend.html.erb index 78d85b10..5021745a 100644 --- a/app/views/admin/sites/sitemap_frontend.html.erb +++ b/app/views/admin/sites/sitemap_frontend.html.erb @@ -1,10 +1,10 @@
<% @items.each_with_index do |item, i| %>
-

<%= i+1 %> <%= "#{item.title}" %>

+

<%= i+1 %><%= item.title %>

    <% item.children.each_with_index do |child, ii| %> -
  • <%= "#{i+1}-#{ii+1}" %> <%= "#{child.title}" %>
  • +
  • <%= "#{i+1}-#{ii+1}" %><%= child.title %>
  • <% end if item.children %>