aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/rails_application_templates.md
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2016-02-27 15:14:56 +0100
committerKasper Timm Hansen <kaspth@gmail.com>2016-02-27 15:14:56 +0100
commit6fb31638c8b61731103d4963272755b217a2df87 (patch)
treeaab6304c09234b82c2eb32a4423eca65b4717ae9 /guides/source/rails_application_templates.md
parent5cb307d85913e47f449b93a4a3ab374cdc0dad52 (diff)
parenteaec958630ea53cddb84ef4746b23bcd917ba45d (diff)
downloadrails-6fb31638c8b61731103d4963272755b217a2df87.tar.gz
rails-6fb31638c8b61731103d4963272755b217a2df87.tar.bz2
rails-6fb31638c8b61731103d4963272755b217a2df87.zip
Merge pull request #23439 from ryohashimoto/160203_rake_rails
Use app namespace for framework tasks
Diffstat (limited to 'guides/source/rails_application_templates.md')
-rw-r--r--guides/source/rails_application_templates.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/guides/source/rails_application_templates.md b/guides/source/rails_application_templates.md
index 3bb5d3c8a6..3b773d84f8 100644
--- a/guides/source/rails_application_templates.md
+++ b/guides/source/rails_application_templates.md
@@ -22,11 +22,11 @@ $ rails new blog -m ~/template.rb
$ rails new blog -m http://example.com/template.rb
```
-You can use the task `rails:template` to apply templates to an existing Rails application. The location of the template needs to be passed in to an environment variable named LOCATION. Again, this can either be path to a file or a URL.
+You can use the task `app:template` to apply templates to an existing Rails application. The location of the template needs to be passed in to an environment variable named LOCATION. Again, this can either be path to a file or a URL.
```bash
-$ bin/rails rails:template LOCATION=~/template.rb
-$ bin/rails rails:template LOCATION=http://example.com/template.rb
+$ bin/rails app:template LOCATION=~/template.rb
+$ bin/rails app:template LOCATION=http://example.com/template.rb
```
Template API