From db52c6e4edd836aa574ebfacfcf979a6403809e8 Mon Sep 17 00:00:00 2001 From: Benjamin Meichsner Date: Fri, 18 Jun 2010 10:33:13 +0200 Subject: [PATCH] Fixed bug on wiki page. --- app/views/pages/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/pages/show.html.haml b/app/views/pages/show.html.haml index 68a7cdf8..de3f79cd 100644 --- a/app/views/pages/show.html.haml +++ b/app/views/pages/show.html.haml @@ -47,5 +47,5 @@ = link_to "Seite löschen", @page, :method => :delete, :confirm => "Achtung, auch alle Unterseiten werden gelöscht. Bist Du sicher?" | Zuletzt bearbeitet von %b - = "#{@page.user.nick}" + = "#{@page.user.try(:nick)}" = "am #{format_datetime @page.updated_at}"