<p dir="auto">Setting <code class="notranslate">turbo-action=advance</code> as our pagination helper does causes a frame navigation to be <a href="https://turbo.hotwired.dev/handbook/frames#promoting-a-frame-navigation-to-a-page-visit" rel="nofollow">promoted to a page visit</a> which means turbo will try and <a href="https://turbo.hotwired.dev/handbook/drive#page-navigation-basics" rel="nofollow">merge the head elements</a> and remove meta and link elements which are missing from the turbo response.</p>
<p dir="auto">In order to avoid breaking things we need to ensure we send the full head element in such cases or things like the CSRF token will be lost.</p>
<p dir="auto"><span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #6172.">Fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3211216664" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/6172" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/6172/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/6172">#6172</a></p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/6187'>https://github.com/openstreetmap/openstreetmap-website/pull/6187</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6187/commits/e44c4af56923b56a6de3561ef6610b773a1224ce" class="commit-link">e44c4af</a> Don't do partial renders for turbo page visits</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6187/files">8 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6187/files#diff-4b73866ef57c70fca07c0f330d7a57aae939b11e4aae0514f303df3aa3762f89">app/controllers/diary_entries_controller.rb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6187/files#diff-cc7acbfb990b45e6f8cb1fe65cbd081a7819b596b03e0ac2ef2e82a9537d3278">app/controllers/issues_controller.rb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6187/files#diff-2602c06a2618f83c1470c924563b55c738e3c94ffb6480e637ca0f4ce130eaba">app/controllers/traces_controller.rb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6187/files#diff-5fb62154bcc2028d8f094225ee59e06e6dc57b853e0d429f7ebab0168f428111">app/controllers/user_blocks_controller.rb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6187/files#diff-b77b9f390f3a2d63e7a32640a118b82110574a7d60fa6760c9acea231f6ef479">app/controllers/users/diary_comments_controller.rb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6187/files#diff-e1c4ba9b610b061e133dec877742cb8e811556dd376b99f4b103e694db81e0ce">app/controllers/users/issued_blocks_controller.rb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6187/files#diff-7fc2e9e30132f848d893d0dafcd5e2c93563fa2015ec4bfaf651a6745961b3c9">app/controllers/users/lists_controller.rb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6187/files#diff-ddb6898edaf242beff5a0e20ea9f89e5450a2ceb4ede9cd420d0d3a94a1e8aa5">app/controllers/users/received_blocks_controller.rb</a>
(2)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/6187.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/6187.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/6187.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/6187.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6187">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLIXTJ2VOAMIHGIVDW33IEMNFAVCNFSM6AAAAACBLZ4Q3GVHI2DSMVQWIX3LMV43ASLTON2WKOZTGIZDKNBSGU3TCMY">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLNRUY7TQRLWJGZFCYL3IEMNFA5CNFSM6AAAAACBLZ4Q3GWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHMAQAXGE.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/6187</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/6187",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/6187",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>