diff options
Diffstat (limited to 'railties/guides')
-rw-r--r-- | railties/guides/source/index.html.erb | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/railties/guides/source/index.html.erb b/railties/guides/source/index.html.erb index be38499c85..8864b52325 100644 --- a/railties/guides/source/index.html.erb +++ b/railties/guides/source/index.html.erb @@ -1,17 +1,21 @@ <% content_for :header_section do %> <h2>Ruby on Rails Guides</h2> -<p>These guides are designed to make you immediately productive with Rails, and to help you understand how all of the pieces fit together.</p> -<p>There are two different versions of the Guides site, and you should be sure to use the one that applies to your situation:</p> - -<ul> - <li> - <a href="http://guides.rubyonrails.org">Current release version</a> - based on Rails 2.3. - </li> - <li> - <a href="http://edgeguides.rubyonrails.org">Edge version</a> - based on the current Rails <a href="http://github.com/rails/rails/tree/master">master branch</a>. - </li> -</ul> +<% if @edge %> +<p> + These are <b>Edge Guides</b>, based on the current + <a href="http://github.com/rails/rails/tree/master">master branch</a>. +</p> +<p> + 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> +<% 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. +</p> <% end %> |