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 f4a10dc commit 74bc662Copy full SHA for 74bc662
app/helpers/application_helper.rb
@@ -1,7 +1,6 @@
1
# -*- coding: utf-8 -*-
2
module ApplicationHelper
3
def full_title(page_title)
4
- 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
@@ -24,8 +23,6 @@ def full_url(page_url)
24
23
end
25
26
def full_description(description)
27
- description = kata_description if @obj && @obj.permalink == "kata"
28
-
29
# Default description
30
# Outdated: "CoderDojo は子どものためのプログラミング道場です。全国に#{Dojo.active_dojos_count}ヶ所以上あり、世界では#{Dojo::NUM_OF_COUNTRIES}ヶ国・#{Dojo::NUM_OF_WORLD_DOJOS}ヶ所で開催されています。"
31
if description.empty?
0 commit comments