Skip to content

Commit e0c445a

Browse files
committed
Turbo off by default
1 parent 1d3a1a6 commit e0c445a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/javascript/application.js

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
import "@hotwired/turbo-rails"
33
import "controllers"
44

5+
// Change to true to allow Turbo
6+
Turbo.session.drive = false
7+
8+
// Allow UJS alongside Turbo
59
import jquery from "jquery";
610
window.jQuery = jquery;
711
window.$ = jquery;

0 commit comments

Comments
 (0)