<p dir="auto">This check was moved to <code class="notranslate">ApiController</code> superclass in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2323536440" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/4859" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/4859/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/4859">#4859</a>, but <code class="notranslate">MessagesController</code> was written before that and merged after that in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2199573959" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/4605" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/4605/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/4605">#4605</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/5435'>https://github.com/openstreetmap/openstreetmap-website/pull/5435</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5435/commits/5dbf32d9452e1032f86ec887965378b83bfd2bb8" class="commit-link">5dbf32d</a> Remove check_api_readable from api messages controller</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5435/files">1 file</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5435/files#diff-8be6739b8297178f5c316ed7db84d899ae7e8d150db267e482fdbd4f29f19fc2">app/controllers/api/messages_controller.rb</a>
(1)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5435.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/5435.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5435.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/5435.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/5435">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLPXBHFXI6C6MG6BQDL2G5PWNAVCNFSM6AAAAABUCFXXB6VHI2DSMVQWIX3LMV43ASLTON2WKOZSG42TKMBQGQ3TKOI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLNHCCLN3BMUXMKNSET2G5PWNA5CNFSM6AAAAABUCFXXB6WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHKINQJK4.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/5435</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/5435",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5435",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>