<table>
    <tr>
        <th></th>
        <th>Path</th>
        <th>Route</th>
        <th>Uses</th>
        <th>Before</th>
        <th>After</th>
    </tr>
    <?php $routes = Route::getRoutes(); ?>
    <?php foreach($routes as $name => $route): ?>
        <?php if ( Route::currentRouteName() == $name): ?>
        <tr class="highlight">
        <?php else: ?>
        <tr>
        <?php endif; ?>
            <td>[<?php echo e(array_get($route->getMethods(), 0)); ?>]</td>
            <td><?php echo e($route->getPath()); ?></td>
            <td><?php echo e($name); ?></td>
            <td><?php echo e($route->getAction() ?: 'Closure'); ?></td>
            <td><?php echo e(implode('|', $route->getBeforeFilters())); ?></td>
            <td><?php echo e(implode('|', $route->getAfterFilters())); ?></td>
        </tr>
    <?php endforeach; ?>
</table>
