forked from fixin.me/fixin.me
Enable Drive to send TURBO_STREAM form POSTs
Disable Turbo caching for whole site
This commit is contained in:
parent
b91776e9c4
commit
9404ec8d17
@ -1,6 +1,5 @@
|
||||
// Configure your import map in config/importmap.rb. Read more: https://github.com/rails/importmap-rails
|
||||
import "@hotwired/turbo-rails"
|
||||
Turbo.session.drive = false
|
||||
|
||||
function showPage(event) {
|
||||
document.documentElement.style.visibility="visible";
|
||||
|
@ -14,6 +14,8 @@
|
||||
|
||||
<%= stylesheet_link_tag "application" %>
|
||||
<%= javascript_importmap_tags %>
|
||||
|
||||
<meta name="turbolinks-cache-control" content="reload">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
Loading…
x
Reference in New Issue
Block a user