<ul dir="auto">
<li>changes the <code class="notranslate">/directions</code> route to a resource</li>
<li>renames the <code class="notranslate">directions#search</code> action to a standard <code class="notranslate">show</code> action</li>
<li>removes RuboCop's exception for action names of directions controller</li>
</ul>
<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/5978'>https://github.com/openstreetmap/openstreetmap-website/pull/5978</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5978/commits/6753f15fa45e242ad6859807eb8672160104f1cf" class="commit-link">6753f15</a> Create directions resource</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5978/files">7 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5978/files#diff-4f894049af3375c2bd4e608f546f8d4a0eed95464efcdea850993200db9fef5c">.rubocop.yml</a>
(1)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5978/files#diff-debf59904131dc89a88ab44cbb1d6deaaa5a7d70c0507f674080df62f7c8e41f">app/abilities/ability.rb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5978/files#diff-e433e21d9fc0b99e1d63f541d792cdeae14a4be55114580287c18b1fa5a0fd1b">app/controllers/directions_controller.rb</a>
(10)
</li>
<li>
<strong>R</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5978/files#diff-175024ba29ee5273987697064c25cb6ae914b8d15af4f7015eec79276ca73344">app/views/directions/show.html.erb</a>
(0)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5978/files#diff-44438ce218f5287c58d0017f965d888715635d94280669896f75841fbd7b4cd7">config/locales/en.yml</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5978/files#diff-959bc9abc46a55332bb64d5155a79323afa75a50ec1a2137ddd22d926f62c6c5">config/routes.rb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5978/files#diff-2f36b4dd6ec888bf6aac42f83210d6184ff3dcc9eb70031d9a713a1439c695fb">test/controllers/directions_controller_test.rb</a>
(6)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5978.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/5978.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5978.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/5978.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/5978">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLHICJEDCBFZL4NZTD24V7UTAVCNFSM6AAAAAB4MMNMMKVHI2DSMVQWIX3LMV43ASLTON2WKOZTGAZTONZUGAYTCOI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLP5MHWL54AVNPRBA5D24V7UTA5CNFSM6AAAAAB4MMNMMKWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHLKEB4K4.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/5978</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/5978",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5978",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>