summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-09-13 13:19:35 +0200
committerhukl <contact@smyck.org>2009-09-13 13:19:35 +0200
commitdc12d6b7016c00d0a56015fe607a4ce3ed76f7ac (patch)
tree4a0dd11ea34ff0f523f482855146453c450b6a53 /app/views
parent34b4e764ab8b00fa24c9ffead40494acd4c9da6b (diff)
use link_to_path instead of link_to to include the locale
Diffstat (limited to 'app/views')
-rw-r--r--app/views/custom/partials/_article.html.erb2
1 files changed, 1 insertions, 1 deletions
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 @@
1<div class="article_partial"> 1<div class="article_partial">
2 <h2><%= link_to page.title, page.public_link %></h2> 2 <h2><%= link_to_path page.title, page.node.unique_name %></h2>
3 <div class="author_and_date"> 3 <div class="author_and_date">
4 <%= date_for_page page %>, <%= author_for_page page %> 4 <%= date_for_page page %>, <%= author_for_page page %>
5 </div> 5 </div>