diff --git a/Resources/views/resources.html.twig b/Resources/views/resources.html.twig index a602100..ffe1c2b 100644 --- a/Resources/views/resources.html.twig +++ b/Resources/views/resources.html.twig @@ -1,20 +1,30 @@ {% extends "NelmioApiDocBundle::layout.html.twig" %} {% block content %} - {% for resource, methods in resources %} -
  • -
    -

    {{ resource }}

    -
    - -
  • + {% for section, sections in resources %} + {% for resource, methods in sections %} +
  • +
    + {% if section == 'others' and resource == 'others' %} +

    {{ resource }}

    + {% endif %} + {% if section != 'others' %} +

    {{ section }}

    + {% endif %} + {% if resource != 'others' %} +

    {{ resource }}

    + {% endif %} +
    + +
  • + {% endfor %} {% endfor %} {% endblock content %}