From 4996d1a445acd965d0064500ad00d692a742f669 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Fri, 2 Apr 2010 15:04:54 -0700 Subject: guides: warn about edge guides at the top of the home preamble, and mention that only for edge guides, stable guides need no warning --- railties/guides/source/index.html.erb | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) (limited to 'railties') 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 %>

Ruby on Rails Guides

-

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

-

There are two different versions of the Guides site, and you should be sure to use the one that applies to your situation:

- - +<% if @edge %> +

+ These are Edge Guides, based on the current + master branch. +

+

+ If you are looking for the ones for the stable version please check + http://guides.rubyonrails.org instead. +

+<% end %> + +

+ These guides are designed to make you immediately productive with Rails, + and to help you understand how all of the pieces fit together. +

<% end %> -- cgit v1.2.3