From dc12d6b7016c00d0a56015fe607a4ce3ed76f7ac Mon Sep 17 00:00:00 2001 From: hukl Date: Sun, 13 Sep 2009 13:19:35 +0200 Subject: use link_to_path instead of link_to to include the locale --- app/views/custom/partials/_article.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/custom/partials/_article.html.erb b/app/views/custom/partials/_article.html.erb index 0af6e3e..dfad62a 100644 --- a/app/views/custom/partials/_article.html.erb +++ b/app/views/custom/partials/_article.html.erb @@ -1,5 +1,5 @@
-

<%= link_to page.title, page.public_link %>

+

<%= link_to_path page.title, page.node.unique_name %>

<%= date_for_page page %>, <%= author_for_page page %>
-- cgit v1.3