]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_meta.html.erb
Enable Turbo Drive with morphing for Messages#{destroy,mark}
[rails.git] / app / views / layouts / _meta.html.erb
index 3517673ac6ba085624da2f3ce0a26b01d98a3b87..2352ad0b6931993eb488bb5e5e257b869241d7e9 100644 (file)
@@ -13,6 +13,8 @@
 <%= tag.meta :name => "msapplication-TileColor", :content => "#00a300" %>
 <%= tag.meta :name => "msapplication-TileImage", :content => image_path("mstile-144x144.png") %>
 <%= tag.meta :name => "theme-color", :content => "#ffffff" %>
+<%= turbo_refresh_method_tag :morph %>
+<%= turbo_refresh_scroll_tag :preserve %>
 <%= canonical_tag %>
 <% if Settings.key?(:publisher_url) -%>
 <%= tag.link :rel => "publisher", :href => Settings.publisher_url %>