diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2018-10-23 01:45:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-23 01:45:38 -0400 |
commit | c2f8df67f34e233ff3f7f058d492217c5ad3eff1 (patch) | |
tree | 59d1f18f01bf41326e1495a64f952c02f94db41a /guides | |
parent | 05db669c5cbf7835dae56348b98a9eef46405ea2 (diff) | |
parent | 3b8307e8305c1b7d0ac046ae5bc448f9b3effdb3 (diff) | |
download | rails-c2f8df67f34e233ff3f7f058d492217c5ad3eff1.tar.gz rails-c2f8df67f34e233ff3f7f058d492217c5ad3eff1.tar.bz2 rails-c2f8df67f34e233ff3f7f058d492217c5ad3eff1.zip |
Merge pull request #34284 from bogdanvlviv/remove-mention-about-javascript-from-generators-guide
Remove mentions about `javascripts` option from the guide about generators [ci skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/generators.md | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/guides/source/generators.md b/guides/source/generators.md index f028d14998..88ce4be8da 100644 --- a/guides/source/generators.md +++ b/guides/source/generators.md @@ -219,7 +219,7 @@ If we want to avoid generating the default `app/assets/stylesheets/scaffolds.scs end ``` -The next customization on the workflow will be to stop generating stylesheet, JavaScript, and test fixture files for scaffolds altogether. We can achieve that by changing our configuration to the following: +The next customization on the workflow will be to stop generating stylesheet and test fixture files for scaffolds altogether. We can achieve that by changing our configuration to the following: ```ruby config.generators do |g| @@ -227,7 +227,6 @@ config.generators do |g| g.template_engine :erb g.test_framework :test_unit, fixture: false g.stylesheets false - g.javascripts false end ``` @@ -285,7 +284,6 @@ config.generators do |g| g.template_engine :erb g.test_framework :test_unit, fixture: false g.stylesheets false - g.javascripts false g.helper :my_helper end ``` @@ -350,7 +348,6 @@ config.generators do |g| g.template_engine :erb g.test_framework :test_unit, fixture: false g.stylesheets false - g.javascripts false end ``` @@ -385,7 +382,6 @@ config.generators do |g| g.template_engine :erb g.test_framework :shoulda, fixture: false g.stylesheets false - g.javascripts false # Add a fallback! g.fallbacks[:shoulda] = :test_unit |