lundi 20 juin 2016

How can I load a model after using with a model passed in already

In Ember 2.5.


    <tr>
        ...
        <td class="text-center text-success"><i class="material-icons">create</i></td>
        <td class="text-center text-danger"><i class="material-icons" >delete</i></td>
    </tr>


When clicking the to edit a vehicle type, it passes model.vehicletypes. Once I am on the edit page, I need to get another model to populate a list. But navigating with a model passed in already means that no other model will be requested.

How can I request another model in the edit page?




Aucun commentaire:

Enregistrer un commentaire