Question: I'm dealing with an application that's using Rails 2.3.18 and I'm wondering if it's possible to route multiple url's to the same action without creating a new map.

```
map.home '/', :controller => 'pages', :action=>'home', :path=>'home'

```

Is it possible to route to '/', as well as '/home' in this mapping?

I've been having a look through the routing documentation and I can't seem to find anything that allows you to do something like this, is it possible?

Answer: 
You need do this same in twig what you would do in php - loop inside loop. 

Remember that you have **3 levels** in your array. 

```
{% for values in classes %}
    {% for item in values[0] %}
        <li>{{ item.name }}</li>
    {% endfor %}
{% endfor %}

```

access first (and only element) under `Grade *` key with `values[0]`. 

It's not best thing from performance perspective, but if you can't change your data structure then you can use it.
This is my final table code in the view that renders correctly and as desired.

```
<table class="table">
<thead>
  <tr>
    <th>#</th>
    <th>Class</th>
    <th>Created on</th>
    <th>Modified at</th>
    <th>Actions</th>
  </tr>
</thead>
<tbody>
  {% for group, values in classes %}
    <tr>
      <td colspan="5" align="left"><strong>{{ group }}</strong></td>
    </tr>{% for item in values %}
      <tr>
        <td>&nbsp;</td>
        <td>{{ item.name }}</td>
        <td>{{ item.created|date('Y-m-d H:i:s') }}</td>
        <td>{{ item.modified|date('Y-m-d H:i:s') }}</td>
        <td><a class="btn btn-sm btn-primary" href="#" role="button">Summary</a></td>
       </tr>
    {% endfor %}
  {% endfor %}
</tbody>

```