aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/index.html.erb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2018-04-11 00:41:18 -0400
committerRafael Mendonça França <rafaelmfranca@gmail.com>2018-04-11 11:47:11 -0400
commitf648d7d39cffdcb973df661ccf35a89c805c3e04 (patch)
treed2c5ef08a8059c1e9846bba36be3fcf414b97a77 /guides/source/index.html.erb
parent5bca1f2167709162aa4eb24ef6652cb7de765b74 (diff)
downloadrails-f648d7d39cffdcb973df661ccf35a89c805c3e04.tar.gz
rails-f648d7d39cffdcb973df661ccf35a89c805c3e04.tar.bz2
rails-f648d7d39cffdcb973df661ccf35a89c805c3e04.zip
Remove link for the kindle version of guides on edge
See https://github.com/rails/rails-docs-server/pull/8 for reason. [ci skip]
Diffstat (limited to 'guides/source/index.html.erb')
-rw-r--r--guides/source/index.html.erb4
1 files changed, 3 insertions, 1 deletions
diff --git a/guides/source/index.html.erb b/guides/source/index.html.erb
index 2fdf18a2e9..76f01fea0a 100644
--- a/guides/source/index.html.erb
+++ b/guides/source/index.html.erb
@@ -10,7 +10,9 @@ Ruby on Rails Guides
<div id="subCol">
<dl>
<dt></dt>
- <dd class="kindle">Rails Guides are also available for <%= link_to 'Kindle', @mobi %>.</dd>
+ <% unless @edge -%>
+ <dd class="kindle">Rails Guides are also available for <%= link_to 'Kindle', @mobi %>.</dd>
+ <% end -%>
<dd class="work-in-progress">Guides marked with this icon are currently being worked on and will not be available in the Guides Index menu. While still useful, they may contain incomplete information and even errors. You can help by reviewing them and posting your comments and corrections.</dd>
</dl>
</div>