aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/rails_application_templates.textile
diff options
context:
space:
mode:
Diffstat (limited to 'railties/guides/source/rails_application_templates.textile')
-rw-r--r--railties/guides/source/rails_application_templates.textile4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/rails_application_templates.textile b/railties/guides/source/rails_application_templates.textile
index baaa3d6d66..1af6f56957 100644
--- a/railties/guides/source/rails_application_templates.textile
+++ b/railties/guides/source/rails_application_templates.textile
@@ -14,13 +14,13 @@ h3. Usage
To apply a template, you need to provide the Rails generator with the location of the template you wish to apply, using -m option :
<shell>
-$ rails blog -m ~/template.rb
+$ rails new blog -m ~/template.rb
</shell>
It's also possible to apply a template using a URL :
<shell>
-$ rails blog -m http://gist.github.com/31208.txt
+$ rails new blog -m http://gist.github.com/31208.txt
</shell>
Alternatively, you can use the rake task +rails:template+ to apply a template to an existing Rails application :