diff --git a/app/views/cms/view.html.erb b/app/views/cms/view.html.erb index adba5fa..12a8597 100644 --- a/app/views/cms/view.html.erb +++ b/app/views/cms/view.html.erb @@ -25,7 +25,9 @@
<%= _('Current folder: ') %> <%= link_to profile.identifier, :action => 'index' %> - <%= @article.hierarchy.map {|item| " / " + ((item == @article) ? item.name : link_to(item.slug, :id => item.id)) } %> + <% @article.hierarchy.each do |item| %> + <%= " / " + ((item == @article) ? item.name.html_safe : link_to(item.slug, :id => item.id).html_safe) %> + <% end %>
<% end %> -- libgit2 0.21.2