Newer
Older
framework / system / Debug / Toolbar / Views / _routes.tpl
@Lonnie Ezell Lonnie Ezell on 24 Feb 2020 992 bytes Release 4.0.0
<h3>Matched Route</h3>

<table>
    <tbody>
    {matchedRoute}
        <tr>
            <td>Directory:</td>
            <td>{directory}</td>
        </tr>
        <tr>
            <td>Controller:</td>
            <td>{controller}</td>
        </tr>
        <tr>
            <td>Method:</td>
            <td>{method}</td>
        </tr>
        <tr>
            <td>Params:</td>
            <td>{paramCount} / {truePCount}</td>
        </tr>
        {params}
            <tr class="route-params-item">
                <td>{name}</td>
                <td>{value}</td>
            </tr>
        {/params}
    {/matchedRoute}
    </tbody>
</table>


<h3>Defined Routes</h3>

<table>
    <thead>
        <tr>
            <th>Method</th>
            <th>Route</th>
            <th>Handler</th>
        </tr>
    </thead>
    <tbody>
    {routes}
        <tr>
            <td>{method}</td>
            <td>{route}</td>
            <td>{handler}</td>
        </tr>
    {/routes}
    </tbody>
</table>