From 6e9cd3846811718611543dae049c000076319587 Mon Sep 17 00:00:00 2001 From: Vijay Dev Date: Sat, 31 Dec 2011 22:55:25 +0530 Subject: DRY up guides index page Use the list of guides available in documents.yaml to fill in the menu in the index page instead of duplicating the list again. Also, remove WIP guides from the menu. --- railties/guides/source/documents.yaml | 2 +- railties/guides/source/layout.html.erb | 55 +++++++--------------------------- 2 files changed, 11 insertions(+), 46 deletions(-) (limited to 'railties/guides/source') diff --git a/railties/guides/source/documents.yaml b/railties/guides/source/documents.yaml index dccfefb4fb..58713a08a8 100644 --- a/railties/guides/source/documents.yaml +++ b/railties/guides/source/documents.yaml @@ -84,7 +84,7 @@ url: configuring.html description: This guide covers the basic configuration settings for a Rails application. - - name: Rails Command Line Tools and Rake tasks + name: Rails Command Line Tools and Rake Tasks url: command_line.html description: This guide covers the command line tools and rake tasks provided by Rails. - diff --git a/railties/guides/source/layout.html.erb b/railties/guides/source/layout.html.erb index e69936b43a..84427b380c 100644 --- a/railties/guides/source/layout.html.erb +++ b/railties/guides/source/layout.html.erb @@ -44,51 +44,16 @@
  • Guides Index
  • Contribute
  • -- cgit v1.2.3