mardi 9 octobre 2018

Ember #link-to nested routes

I'm calling link-to statement from a template The Routes are defined like this,

/app/router.js

Router.map.function(){
    this.route('profiles');
    this.route('exam', function(){
        this.route('create');
        this.route('evaluate');
    });

/app/templates/profiles.hbs


   <p> Create an Exam </p>


   <p> Evaluate Exam </p>





Aucun commentaire:

Enregistrer un commentaire