<p></p>
<p><b>@tomhughes</b> commented on this pull request.</p>
<hr>
<p>In <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3177#discussion_r613603681">.rubocop_todo.yml</a>:</p>
<pre style='color:#555'>> @@ -141,6 +141,10 @@ Rails/HelperInstanceVariable:
Exclude:
- 'app/helpers/title_helper.rb'
+Rails/LexicallyScopedActionFilter:
+ Exclude:
+ - 'app/controllers/oauth2_applications_controller.rb'
</pre>
<p>I tried that ;-) The problem is that just triggers a different rubocop warning:</p>
<pre><code>app/controllers/oauth2_applications_controller.rb:14:3: W: [Correctable] Lint/UselessMethodDefinition: Useless method definition detected.
def show ...
^^^^^^^^
</code></pre>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3177#discussion_r613603681">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNPRE3UFV7ZJCNHGOTTIYDKZANCNFSM4234LSSQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLKBAYLSDNOBE6XBJTDTIYDKZA5CNFSM4234LSS2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOEXVCIHQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/3177#discussion_r613603681",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3177#discussion_r613603681",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>