File tree Expand file tree Collapse file tree 2 files changed +14
-22
lines changed Expand file tree Collapse file tree 2 files changed +14
-22
lines changed Original file line number Diff line number Diff line change @@ -85,26 +85,18 @@ def news_path(options={anchor: 'news'})
85
85
root_path ( options )
86
86
end
87
87
88
- def news_url ( path = '/' )
89
- 'https://news.coderdojo.jp' + path
90
- end
91
-
92
- def decadojo_url ; 'https://decadojo.coderdojo.jp' ; end
93
- def dojocon_url ; 'https://dojocon.coderdojo.jp' ; end
88
+ def news_url ( path = '/' ) ; 'https://news.coderdojo.jp' + path ; end
89
+ def dojomap_url ( path = '/' ) ; 'https://map.coderdojo.jp' + path ; end
90
+ def zen_url ( path = '/find' ) ; 'https://zen.coderdojo.com' + path ; end
94
91
95
- def dojoletter_url ( )
96
- 'https://news.coderdojo.jp/category/DojoLetterバックナンバー'
97
- end
92
+ def decadojo_url ; 'https://decadojo.coderdojo.jp' ; end
93
+ def dojocon_url ; 'https://dojocon.coderdojo.jp' ; end
94
+ def dojoletter_url ; 'https://news.coderdojo.jp/category/DojoLetterバックナンバー' ; end
95
+ def foundation_url ; 'https://speakerdeck.com/helloworldfoundation' ; end
98
96
99
- def dojomap_url ( path = '/' )
100
- 'https://map.coderdojo.jp' + path
101
- end
97
+ def facebook_group_url ; 'https://www.facebook.com/groups/coderdojo.jp' ; end
98
+ def facebook_page_url ; 'https://www.facebook.com/coderdojo.jp' ; end
99
+ def twitter_url ; 'https://twitter.com/CoderDojoJapan' ; end
100
+ def youtube_url ; 'https://youtube.com/CoderDojoJapan' ; end
102
101
103
- def foundation_url
104
- 'https://speakerdeck.com/helloworldfoundation'
105
- end
106
-
107
- def zen_url ( path = '/find' )
108
- 'https://zen.coderdojo.com' + path
109
- end
110
102
end
Original file line number Diff line number Diff line change 19
19
<%= link_to news_url do %>
20
20
< i class ="fa fa-newspaper-o fa-3x fa-fw " aria-hidden ="true " title ="News "> </ i >
21
21
<% end %>
22
- <%= link_to "https://www.facebook.com/coderdojo.jp/" do %>
22
+ <%= link_to facebook_page_url do %>
23
23
< i class ="fa fa-facebook fa-3x fa-fw " aria-hidden ="true " title ="Facebook "> </ i >
24
24
<% end %>
25
- <%= link_to "https://twitter.com/CoderDojoJapan" do %>
25
+ <%= link_to twitter_url do %>
26
26
< i class ="fa fa-twitter fa-3x fa-fw " aria-hidden ="true " title ="Twitter "> </ i >
27
27
<% end %>
28
- <%= link_to "https://www.youtube.com/CoderDojoJapan" do %>
28
+ <%= link_to youtube_url do %>
29
29
< i class ="fa fa-youtube fa-3x fa-fw " aria-hidden ="true " title ="YouTube "> </ i >
30
30
<% end %>
31
31
<%= link_to podcasts_path do %>
You can’t perform that action at this time.
0 commit comments