Skip to content

Commit abf9215

Browse files
committed
Add dojomap_url helper to create a link to DojoMap
1 parent 5e0f5fd commit abf9215

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/helpers/application_helper.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ def dojoletter_url()
9999
'https://news.coderdojo.jp/category/DojoLetterバックナンバー'
100100
end
101101

102+
def dojomap_url(path='/')
103+
'https://map.coderdojo.jp' + path
104+
end
105+
102106
def foundation_url(path='/foundation/')
103107
'https://coderdojo.com' + path
104108
end

0 commit comments

Comments
 (0)