We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dc7651 commit 7780148Copy full SHA for 7780148
app/helpers/application_helper.rb
@@ -1,7 +1,7 @@
1
# -*- coding: utf-8 -*-
2
module ApplicationHelper
3
def full_title(page_title)
4
- page_title ||= @obj.display_title if @obj && !@obj.permalink.nil?
+ page_title = @obj.display_title if page_title.empty? && @obj && !@obj.permalink.nil?
5
if page_title.empty?
6
"CoderDojo Japan - 子どものためのプログラミング道場" # Default title
7
else
0 commit comments