<p></p>
<blockquote>
<p dir="auto">Does anyone need the <code class="notranslate">#show</code> page?</p>
</blockquote>
<p dir="auto">No, I guess not.</p>
<p dir="auto">I've done a small amount of research into this, to see what other similar applications do - just to see if there's any conventions. Github, Mastodon and Discourse all show forms and don't appear to have a show/edit split. Mastodon has its source code available, and they use show+update actions, with the form on the show page. This avoids the whole issue around the path changing when forms are redisplayed and therefore breaking refresh.</p>
<p dir="auto"><a href="https://github.com/mastodon/mastodon/tree/3c7f3b190cbaf6b6db25b15c16c8dc0bff599c00/app/controllers/settings/preferences">https://github.com/mastodon/mastodon/tree/3c7f3b190cbaf6b6db25b15c16c8dc0bff599c00/app/controllers/settings/preferences</a> (they've split their preferences into multiple pages, but BaseController#update shows the logic).</p>
<p dir="auto">So maybe our convention should be that where it isn't useful to have separate show and edit pages, then we put the form on the show page.</p>
<p dir="auto">I'd be happy to hear from anyone who has advice based on other similar rails projects!</p>

<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/5449#issuecomment-2578415862">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLOCRFW7HAYGFTESMU32JVY65AVCNFSM6AAAAABUK7KPD2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNZYGQYTKOBWGI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLJHAJI4WAJNFTV5DLL2JVY65A5CNFSM6AAAAABUK7KPD2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUZV6APM.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/5449/c2578415862</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/5449#issuecomment-2578415862",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5449#issuecomment-2578415862",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>