diff --git a/lib/rdoc/generator/template/rails/_panel.rhtml b/lib/rdoc/generator/template/rails/_panel.rhtml
index c0c771c9..4f1ab567 100644
--- a/lib/rdoc/generator/template/rails/_panel.rhtml
+++ b/lib/rdoc/generator/template/rails/_panel.rhtml
@@ -31,6 +31,6 @@
- index
+ index
diff --git a/lib/rdoc/generator/template/rails/search_index.rhtml b/lib/rdoc/generator/template/rails/file_links.rhtml
similarity index 100%
rename from lib/rdoc/generator/template/rails/search_index.rhtml
rename to lib/rdoc/generator/template/rails/file_links.rhtml
diff --git a/lib/sdoc/generator.rb b/lib/sdoc/generator.rb
index d3713a35..9c9c2a05 100644
--- a/lib/sdoc/generator.rb
+++ b/lib/sdoc/generator.rb
@@ -102,7 +102,7 @@ def generate
copy_resources
@json_index.generate
@json_index.generate_gzipped
- generate_search_index
+ generate_file_links
generate_class_tree
generate_index_file
@@ -177,10 +177,10 @@ def generate_file_files
end
### Generate file with links for the search engine
- def generate_search_index
+ def generate_file_links
debug_msg "Generating search engine index in #{@outputdir}"
- templatefile = @template_dir + 'search_index.rhtml'
- outfile = @outputdir + 'panel/links.html'
+ templatefile = @template_dir + 'file_links.rhtml'
+ outfile = @outputdir + 'panel/file_links.html'
self.render_template( templatefile, binding(), outfile ) unless @options.dry_run
end