diff options
author | Ryo Hashimoto <ryohashimoto@gmail.com> | 2016-02-13 14:14:23 +0900 |
---|---|---|
committer | Ryo Hashimoto <ryohashimoto@gmail.com> | 2016-02-26 19:35:23 +0900 |
commit | eaec958630ea53cddb84ef4746b23bcd917ba45d (patch) | |
tree | 32332447110640ccf548c9e839c99014f62e65e9 /guides/source/rails_application_templates.md | |
parent | 56ca2061df83a307943a0ffdfe6f5f4ed5846cf7 (diff) | |
download | rails-eaec958630ea53cddb84ef4746b23bcd917ba45d.tar.gz rails-eaec958630ea53cddb84ef4746b23bcd917ba45d.tar.bz2 rails-eaec958630ea53cddb84ef4746b23bcd917ba45d.zip |
The tasks in the rails task namespace is deprecated in favor of app namespace.
(e.g. `rails:update` and `rails:template` tasks is renamed to `app:update` and `app:template`.)
Diffstat (limited to 'guides/source/rails_application_templates.md')
-rw-r--r-- | guides/source/rails_application_templates.md | 6 |
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 |