aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorViktor Fonic <viktor.fonic@gmail.com>2017-02-23 13:07:15 +0700
committerViktor Fonic <viktor.fonic@gmail.com>2017-02-28 08:37:03 +0700
commit07ccb1e133c9fd25ab215e260a616cb019bfe13f (patch)
tree061d03424a25c5bb0e4fa34e9bbb887a8052e851
parentd50380f4e3f9e8d9398c8fdcbe5f52f784d14f5f (diff)
downloadrails-07ccb1e133c9fd25ab215e260a616cb019bfe13f.tar.gz
rails-07ccb1e133c9fd25ab215e260a616cb019bfe13f.tar.bz2
rails-07ccb1e133c9fd25ab215e260a616cb019bfe13f.zip
Skip turbolinks for engine test application
When `rails new plugin` is invoked, turbolinks should be skipped in the dummy test application generated by the plugin generator.
-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