aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2017-02-28 18:14:46 -0500
committerGitHub <noreply@github.com>2017-02-28 18:14:46 -0500
commit4b4d3f70eb372db6dca60b8a354f4b2cd179055d (patch)
treef1c9f1cbb8e878932cbc9a728c3758574ae33120
parentbae563a9e9dc04595f9fba2cffbde7fdcbc3c44a (diff)
parent07ccb1e133c9fd25ab215e260a616cb019bfe13f (diff)
downloadrails-4b4d3f70eb372db6dca60b8a354f4b2cd179055d.tar.gz
rails-4b4d3f70eb372db6dca60b8a354f4b2cd179055d.tar.bz2
rails-4b4d3f70eb372db6dca60b8a354f4b2cd179055d.zip
Merge pull request #28120 from vfonic/plugin-generator-skip-turbolinks-dummy
Allow skipping of turbolinks for test dummy application for plugin/engine
-rw-r--r--railties/lib/rails/generators/rails/plugin/plugin_generator.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/plugin/plugin_generator.rb b/railties/lib/rails/generators/rails/plugin/plugin_generator.rb
index 3fcd8607f0..ca48919f9a 100644
--- a/railties/lib/rails/generators/rails/plugin/plugin_generator.rb
+++ b/railties/lib/rails/generators/rails/plugin/plugin_generator.rb
@@ -92,6 +92,7 @@ task default: :test
opts[:api] = options.api?
opts[:skip_listen] = true
opts[:skip_git] = true
+ opts[:skip_turbolinks] = true
invoke Rails::Generators::AppGenerator,
[ File.expand_path(dummy_path, destination_root) ], opts