Skip to content

Commit

Permalink
Disable turbo prefetching in development
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin481 committed Aug 5, 2024
1 parent e506e8b commit a413e30
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/views/layouts/application.html.haml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
!!!
%html
%head
// This disables the Turbo prefetch in development as it gets quite annoying when debugging
- if Rails.env.development?
%meta{:name => "turbo-prefetch", :content => "false"}/
%meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
%title PuzzleSkills
%meta{:content => "width=device-width,initial-scale=1", :name => "viewport"}/
Expand Down

0 comments on commit a413e30

Please sign in to comment.