diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-06-23 14:43:58 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-06-23 14:43:58 -0300 |
commit | ce54f67e4edb6937316d504ef86d6bf98cea9154 (patch) | |
tree | e5e3c62782db8161c12ab47f058aa6f9a561451f | |
parent | 0e09875a67db74ca303cd88626433db7c56bdaf3 (diff) | |
parent | b3c3e596cc9a3e5ea45b6c298a1d1183746b2185 (diff) | |
download | rails-ce54f67e4edb6937316d504ef86d6bf98cea9154.tar.gz rails-ce54f67e4edb6937316d504ef86d6bf98cea9154.tar.bz2 rails-ce54f67e4edb6937316d504ef86d6bf98cea9154.zip |
Merge pull request #14113 from murb/patch-1
Moved explanation of `--mountable` option up
-rw-r--r-- | guides/source/engines.md | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/guides/source/engines.md b/guides/source/engines.md index 4041cd7d55..3145733d4c 100644 --- a/guides/source/engines.md +++ b/guides/source/engines.md @@ -82,8 +82,11 @@ The full list of options for the plugin generator may be seen by typing: $ bin/rails plugin --help ``` -The `--full` option tells the generator that you want to create an engine, -including a skeleton structure that provides the following: +The `--mountable` option tells the generator that you want to create a +"mountable" and namespace-isolated engine. This generator will provide the same +skeleton structure as would the `--full` option. The `--full` option tells the +generator that you want to create an engine, including a skeleton structure +that provides the following: * An `app` directory tree * A `config/routes.rb` file: @@ -103,9 +106,7 @@ including a skeleton structure that provides the following: end ``` -The `--mountable` option tells the generator that you want to create a -"mountable" and namespace-isolated engine. This generator will provide the same -skeleton structure as would the `--full` option, and will add: +The `--mountable` option will add to the `--full` option: * Asset manifest files (`application.js` and `application.css`) * A namespaced `ApplicationController` stub |