Custom naming in router resources
<p>i have in my controller</p>

<pre><code>public function details($id)
    {
        $claim = Claim::findOrFail($id);
        $details = $claim-&gt;details;

        return response()-&gt;json([], 200);
    }
</code></pre>

<p>and I have in my routes</p>

<pre><code>Route::resource('claims', 'Admin\\ClaimsController',['names'=&gt; ['details'=&gt;'admin.claims.details'], 'only' =&gt; ['index','store','update','destroy','details']]);
</code></pre>

<p>when I run <code>php artisan route:list</code> i do not see the admin.claims.details( admin/claims/1/details) in the list</p>

<p>the documentation is pretty vague here so I'm asking how to properly set a custom route? How do I specify if its "POST" or "GET"?</p>