summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-02-28 18:00:42 +0100
committerhukl <contact@smyck.org>2009-02-28 18:00:42 +0100
commit489e52ee541e8fed830ffe9ca533a9752eed08e8 (patch)
tree6f584519c1947807a1011b9d0b5b545ddb43f132 /app/views
parent037e16ca834377a03127fa8a86c6d5041f8ca8f3 (diff)
using the new helper to prevent evil exceptions if no author is set
Diffstat (limited to 'app/views')
-rw-r--r--app/views/content/_article.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/content/_article.html.erb b/app/views/content/_article.html.erb
index e2f2877..10f47d2 100644
--- a/app/views/content/_article.html.erb
+++ b/app/views/content/_article.html.erb
@@ -2,5 +2,5 @@
2 <hr/> 2 <hr/>
3</div> 3</div>
4<h2><%= page.title %></h2> 4<h2><%= page.title %></h2>
5<h3><%= date_for_page page %>, <%= page.user.login %></h3> 5<h3><%= date_for_page page %>, <%= author_for_page page %></h3>
6<p><%= page.abstract %></p> \ No newline at end of file 6<p><%= page.abstract %></p> \ No newline at end of file