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'})
8585 root_path ( options )
8686 end
8787
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
9491
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
9896
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
102101
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
110102end
Original file line number Diff line number Diff line change 1919 <%= link_to news_url do %>
2020 < i class ="fa fa-newspaper-o fa-3x fa-fw " aria-hidden ="true " title ="News "> </ i >
2121 <% end %>
22- <%= link_to "https://www.facebook.com/coderdojo.jp/" do %>
22+ <%= link_to facebook_page_url do %>
2323 < i class ="fa fa-facebook fa-3x fa-fw " aria-hidden ="true " title ="Facebook "> </ i >
2424 <% end %>
25- <%= link_to "https://twitter.com/CoderDojoJapan" do %>
25+ <%= link_to twitter_url do %>
2626 < i class ="fa fa-twitter fa-3x fa-fw " aria-hidden ="true " title ="Twitter "> </ i >
2727 <% end %>
28- <%= link_to "https://www.youtube.com/CoderDojoJapan" do %>
28+ <%= link_to youtube_url do %>
2929 < i class ="fa fa-youtube fa-3x fa-fw " aria-hidden ="true " title ="YouTube "> </ i >
3030 <% end %>
3131 <%= link_to podcasts_path do %>
You can’t perform that action at this time.
0 commit comments