Skip to content

Commit 360241c

Browse files
committed
导航增加 Gems
1 parent d3227d1 commit 360241c

File tree

6 files changed

+6
-2
lines changed

6 files changed

+6
-2
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
if ENV['USE_OFFICIAL_GEM_SOURCE']
22
source 'https://rubygems.org'
33
else
4-
source 'http://gems.ruby-china.org'
4+
source 'https://gems.ruby-china.org'
55
end
66

77
ruby '2.3.0'

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ GIT
1515
coffee-rails
1616

1717
GEM
18-
remote: http://gems.ruby-china.org/
18+
remote: https://gems.ruby-china.org/
1919
specs:
2020
actioncable (5.0.0.beta3)
2121
actionpack (= 5.0.0.beta3)

app/views/layouts/application.html.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
li << link_to(t("menu.jobs"), jobs_path)
4848
li << link_to(t("menu.tweets"), twitter_path) if !mobile?
4949
li << link_to(t("menu.sites"), sites_path) if !mobile?
50+
li << link_to(t("menu.gems"), 'https://gems.ruby-china.org', target: '_blank') if !mobile?
5051
end %>
5152
</span>
5253

config/locales/menu.en.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
menu:
7878
topics: "Discussion"
7979
wiki: "Wiki"
80+
gems: "Gems"
8081
users: "Users"
8182
cpanel: "Control Panel"
8283
notes: "Notes"

config/locales/menu.zh-CN.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
home: "首页"
8181
topics: "社区"
8282
wiki: "Wiki"
83+
gems: "Gems"
8384
users: "会员"
8485
cpanel: "后台"
8586
notes: "记事本"

config/locales/menu.zh-TW.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
home: "首頁"
8181
topics: "社區"
8282
wiki: "Wiki"
83+
gems: "Gems"
8384
users: "會員"
8485
cpanel: "後臺"
8586
notes: "記事本"

0 commit comments

Comments
 (0)