{% extends 'template/template.j2.html' %} {% block title %} {{ $t('sidebar.routeExample') }} {% endblock %} {% block content %}
{{ $t('List of all registered application routes') }}
| # | {{ $t('webRouteExample.path') }} | {{ $t('webRouteExample.type') }} | {{ $t('webRouteExample.permissions') }} | {{ $t('webRouteExample.auth') }} | {{ $t('webRouteExample.controller') }} |
|---|---|---|---|---|---|
| {{ loop.index }} |
{{ route.key }}
|
{{ route.type }} | {{ route.permissions }} | {{ route.hasAuth | string }} |
{% if route.middlewares %}
{{ route.middlewares | join(', ') }}
{% endif %}
{{ route.controller }}{{ route.index }}
|
{{ $t('webRouteExample.router') }}
example/lib/route/web_route.dart