Browse Source

turbo morph

pagy
pvincent 7 months ago
parent
commit
c5f3193d3c
  1. 5
      app/views/layouts/application.html.erb

5
app/views/layouts/application.html.erb

@ -8,12 +8,13 @@
<%= stylesheet_link_tag "tailwind", "inter-font", "data-turbo-track": "reload" %>
<%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
<%= javascript_importmap_tags %>
<%= turbo_refreshes_with method: :morph, scroll: :preserve %>
<%= content_for :head %>
</head>
<body>
<%=render '/layouts/notification' %>
<main class="m-8 flex flex-col">
<%= yield %>
</main>

Loading…
Cancel
Save