From c9183349c2fbacf24fca5cd7767190d069ce8873 Mon Sep 17 00:00:00 2001 From: hukl Date: Tue, 3 Mar 2009 14:06:39 +0100 Subject: no need to hand the page to the helper --- app/helpers/content_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/helpers') diff --git a/app/helpers/content_helper.rb b/app/helpers/content_helper.rb index 2cfba02..fba7737 100644 --- a/app/helpers/content_helper.rb +++ b/app/helpers/content_helper.rb @@ -10,7 +10,7 @@ module ContentHelper page.user ? page.user.login : "Unknown author" end - def page_title page + def page_title if @page.title && @page.title != "" "CCC | #{@page.title}" else -- cgit v1.3