aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2015-02-06 20:41:42 +0100
committerXavier Noria <fxn@hashref.com>2015-02-06 21:04:54 +0100
commit89a12c931b1f00b90e74afffcdc2fc21f14ca663 (patch)
tree3f1ea4ff032373680cea876a8c56524e0d5f6f3b /railties/lib/rails
parentcd7cc5254b090ccbb84dcee4408a5acede25ef2a (diff)
downloadrails-89a12c931b1f00b90e74afffcdc2fc21f14ca663.tar.gz
rails-89a12c931b1f00b90e74afffcdc2fc21f14ca663.tar.bz2
rails-89a12c931b1f00b90e74afffcdc2fc21f14ca663.zip
README.rdoc -> README.md for newly generated applications
README.rdoc was generated to support the doc:app task. Now that this task is gone we can switch to Markdown, which is nowadays a better default.
Diffstat (limited to 'railties/lib/rails')
-rw-r--r--railties/lib/rails/generators/rails/app/app_generator.rb2
-rw-r--r--railties/lib/rails/generators/rails/app/templates/README.md (renamed from railties/lib/rails/generators/rails/app/templates/README.rdoc)2
2 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/rails/app/app_generator.rb b/railties/lib/rails/generators/rails/app/app_generator.rb
index b6e6642f11..977f5a1c03 100644
--- a/railties/lib/rails/generators/rails/app/app_generator.rb
+++ b/railties/lib/rails/generators/rails/app/app_generator.rb
@@ -38,7 +38,7 @@ module Rails
end
def readme
- copy_file "README.rdoc", "README.rdoc"
+ copy_file "README.md", "README.md"
end
def gemfile
diff --git a/railties/lib/rails/generators/rails/app/templates/README.rdoc b/railties/lib/rails/generators/rails/app/templates/README.md
index db0fbe031b..55e144da18 100644
--- a/railties/lib/rails/generators/rails/app/templates/README.rdoc
+++ b/railties/lib/rails/generators/rails/app/templates/README.md
@@ -1,4 +1,4 @@
-== README
+## README
This README would normally document whatever steps are necessary to get the
application up and running.