Skip to content

Commit

Permalink
too many people are looking for the 2.3 guides, put by now a link at …
Browse files Browse the repository at this point in the history
…the top of the home, and add the Rails version in the main header
  • Loading branch information
fxn committed Sep 3, 2010
1 parent 2ad2bd3 commit 2988751
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions railties/guides/source/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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 %>
<p>
Expand All @@ -14,8 +14,12 @@ Ruby on Rails Guides
If you are looking for the ones for the stable version please check
<a href="http://guides.rubyonrails.org">http://guides.rubyonrails.org</a> instead.
</p>
<% else %>
<p>
These are the new guides for Rails 3. The guides for Rails 2.3 are still available
at <a href="http://guides.rubyonrails.org/v2.3.8/">http://guides.rubyonrails.org/v2.3.8/</a>.
</p>
<% end %>

<p>
These guides are designed to make you immediately productive with Rails,
and to help you understand how all of the pieces fit together.
Expand Down

0 comments on commit 2988751

Please sign in to comment.