From 83acb78966af8ae883c7af8402eb1365b690eac9 Mon Sep 17 00:00:00 2001 From: Christophe Vilayphiou Date: Wed, 1 Aug 2012 17:05:34 +0800 Subject: [PATCH] path instead of url --- 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 9e6720df..78d85b10 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 %>