Browse Source

Add turbolinks to webpacker

Chris Oliver 5 years ago
parent
commit
f09d409bc0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      template.rb

+ 1 - 1
template.rb

@@ -117,7 +117,7 @@ def add_javascript
   run "yarn add expose-loader jquery popper.js bootstrap data-confirm-modal local-time"
 
   if rails_5?
-    run "yarn add @rails/actioncable@pre @rails/actiontext@pre @rails/activestorage@pre @rails/ujs@pre"
+    run "yarn add turbolinks @rails/actioncable@pre @rails/actiontext@pre @rails/activestorage@pre @rails/ujs@pre"
   end
 
   content = <<-JS