diff options
| author | hukl <contact@smyck.org> | 2009-03-03 14:06:39 +0100 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-03-03 14:06:39 +0100 |
| commit | c9183349c2fbacf24fca5cd7767190d069ce8873 (patch) | |
| tree | 464dd3c24540000b7eeda30da91aaa0f2bb3c24d /app/helpers | |
| parent | e72bd939439db5dd43ccc1a76975fafabaf2efa7 (diff) | |
no need to hand the page to the helper
Diffstat (limited to 'app/helpers')
| -rw-r--r-- | app/helpers/content_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
| 10 | page.user ? page.user.login : "Unknown author" | 10 | page.user ? page.user.login : "Unknown author" |
| 11 | end | 11 | end |
| 12 | 12 | ||
| 13 | def page_title page | 13 | def page_title |
| 14 | if @page.title && @page.title != "" | 14 | if @page.title && @page.title != "" |
| 15 | "CCC | #{@page.title}" | 15 | "CCC | #{@page.title}" |
| 16 | else | 16 | else |
