Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

too many people are looking for the 2.3 guides, put by now a link at …

…the top of the home, and add the Rails version in the main header
  • Loading branch information...
commit 63032c1162e96d3380168ca63ac42aa044dbebd6 1 parent 93acbf6
@fxn fxn authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 railties/guides/source/index.html.erb
8 railties/guides/source/index.html.erb
@@ -3,7 +3,7 @@ Ruby on Rails Guides
<% end %>
<% content_for :header_section do %>
-<h2>Ruby on Rails Guides</h2>
+<h2>Ruby on Rails Guides (<%= ENV['RAILS_VERSION'] || 'edge' %>)</h2>
<% if @edge %>
@@ -14,8 +14,12 @@ Ruby on Rails Guides
If you are looking for the ones for the stable version please check
<a href=""></a> instead.
+<% else %>
+ These are the new guides for Rails 3. The guides for Rails 2.3 are still available
+ at <a href=""></a>.
<% end %>
These guides are designed to make you immediately productive with Rails,
and to help you understand how all of the pieces fit together.

0 comments on commit 63032c1

Please sign in to comment.
Something went wrong with that request. Please try again.