diff options
Diffstat (limited to 'railties')
-rw-r--r-- | railties/guides/rails_guides/generator.rb | 2 | ||||
-rw-r--r-- | railties/guides/source/credits.html.erb | 4 | ||||
-rw-r--r-- | railties/guides/source/index.html.erb | 4 |
3 files changed, 9 insertions, 1 deletions
diff --git a/railties/guides/rails_guides/generator.rb b/railties/guides/rails_guides/generator.rb index f577182f5f..3c45c83c1c 100644 --- a/railties/guides/rails_guides/generator.rb +++ b/railties/guides/rails_guides/generator.rb @@ -148,7 +148,7 @@ module RailsGuides header = $1 header =~ /h2\.(.*)/ - page_title = $1.strip + page_title = "Ruby on Rails Guides: #{$1.strip}" header = textile(header) diff --git a/railties/guides/source/credits.html.erb b/railties/guides/source/credits.html.erb index c85f9bb913..4d0d1fe782 100644 --- a/railties/guides/source/credits.html.erb +++ b/railties/guides/source/credits.html.erb @@ -1,3 +1,7 @@ +<% content_for :page_title do %> +Ruby on Rails Guides: Credits +<% end %> + <% content_for :header_section do %> <h2>Credits</h2> diff --git a/railties/guides/source/index.html.erb b/railties/guides/source/index.html.erb index 8864b52325..52da16d453 100644 --- a/railties/guides/source/index.html.erb +++ b/railties/guides/source/index.html.erb @@ -1,3 +1,7 @@ +<% content_for :page_title do %> +Ruby on Rails Guides +<% end %> + <% content_for :header_section do %> <h2>Ruby on Rails Guides</h2> |