Skip to content

Commit

Permalink
Fix: Block preliminary pre-loading (#2993)
Browse files Browse the repository at this point in the history
  • Loading branch information
pglombardo authored Jan 19, 2025
1 parent 855a61c commit a05be4a
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 9 deletions.
12 changes: 9 additions & 3 deletions app/views/file_pushes/preliminary.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<div class="container h-100">
<div class="d-flex flex-column min-vh-100 justify-content-center align-items-center">
<p> <%= link_to _("Click Here to Proceed"), @secret_url, data: { turbo_prefetch: false }, rel: "no-prefetch" %> </p>
</div>
<div class="d-flex flex-column min-vh-100 justify-content-center align-items-center">
<p>
<%= link_to _("Click Here to Proceed"), @secret_url,
"data-turbo-prefetch": false,
"data-turbolinks": false,
"data-turbo": false,
rel: "no-prefetch" %>
</p>
</div>
</div>
12 changes: 9 additions & 3 deletions app/views/passwords/preliminary.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<div class="container h-100">
<div class="d-flex flex-column min-vh-100 justify-content-center align-items-center">
<p> <%= link_to _("Click Here to Proceed"), @secret_url, data: { turbo_prefetch: false }, rel: "no-prefetch" %> </p>
</div>
<div class="d-flex flex-column min-vh-100 justify-content-center align-items-center">
<p>
<%= link_to _("Click Here to Proceed"), @secret_url,
"data-turbo-prefetch": false,
"data-turbolinks": false,
"data-turbo": false,
rel: "no-prefetch" %>
</p>
</div>
</div>
12 changes: 9 additions & 3 deletions app/views/urls/preliminary.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<div class="container h-100">
<div class="d-flex flex-column min-vh-100 justify-content-center align-items-center">
<p> <%= link_to _("Click Here to Proceed"), @secret_url, data: { turbo_prefetch: false }, rel: "no-prefetch" %> </p>
</div>
<div class="d-flex flex-column min-vh-100 justify-content-center align-items-center">
<p>
<%= link_to _("Click Here to Proceed"), @secret_url,
"data-turbo-prefetch": false,
"data-turbolinks": false,
"data-turbo": false,
rel: "no-prefetch" %>
</p>
</div>
</div>

0 comments on commit a05be4a

Please sign in to comment.