diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/models/page.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/models/page.rb b/app/models/page.rb index 6fff7d6..fff044e 100644 --- a/app/models/page.rb +++ b/app/models/page.rb | |||
| @@ -234,9 +234,7 @@ class Page < ApplicationRecord | |||
| 234 | private | 234 | private |
| 235 | 235 | ||
| 236 | def set_page_title | 236 | def set_page_title |
| 237 | if title.nil? | 237 | self.title = "Untitled" if title.nil? |
| 238 | title = "Untitled" | ||
| 239 | end | ||
| 240 | end | 238 | end |
| 241 | 239 | ||
| 242 | def set_template | 240 | def set_template |
