aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorMaarten Brouwers <github@murb.nl>2014-02-19 16:37:31 +0100
committerMaarten Brouwers <github@murb.nl>2014-02-19 16:37:31 +0100
commitb3c3e596cc9a3e5ea45b6c298a1d1183746b2185 (patch)
tree576776c94f8216823879abf7478ce12b3bc9e7f2 /guides
parenta0d63c30cc2b7280cd2cd7ad0a76189db97f5ab7 (diff)
downloadrails-b3c3e596cc9a3e5ea45b6c298a1d1183746b2185.tar.gz
rails-b3c3e596cc9a3e5ea45b6c298a1d1183746b2185.tar.bz2
rails-b3c3e596cc9a3e5ea45b6c298a1d1183746b2185.zip
Moved explanation of `--mountable` option up
The example code uses `--mountable`. In previous version this was followed by an explanation of the `--full` option, which doesn't make sense. Later on in the text this is better explained. I moved this explanation up without repeating too much.
Diffstat (limited to 'guides')
-rw-r--r--guides/source/engines.md11
1 files changed, 6 insertions, 5 deletions
diff --git a/guides/source/engines.md b/guides/source/engines.md
index bbd63bb892..a8fddc32f0 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:
$ 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