diff options
author | Xavier Noria <fxn@hashref.com> | 2010-09-03 22:00:22 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-09-03 22:00:22 +0200 |
commit | 63032c1162e96d3380168ca63ac42aa044dbebd6 (patch) | |
tree | 66a4ee3d7181eddd3d15f26dece86bb1aed11c3e | |
parent | 93acbf6bf31ca1802d7631c57da693a824456c4a (diff) | |
download | rails-63032c1162e96d3380168ca63ac42aa044dbebd6.tar.gz rails-63032c1162e96d3380168ca63ac42aa044dbebd6.tar.bz2 rails-63032c1162e96d3380168ca63ac42aa044dbebd6.zip |
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
-rw-r--r-- | railties/guides/source/index.html.erb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/railties/guides/source/index.html.erb b/railties/guides/source/index.html.erb index 84e25dd0e9..e6d327168a 100644 --- a/railties/guides/source/index.html.erb +++ b/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 %> <p> @@ -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. |