samedi 7 janvier 2017

Ember js routing not working in 2.10

I was using this Ember route file to map this URI http://ift.tt/2in4I97 with the template main-page.hbs located in the home folder

export default {
    resource: 'home',
    path: '/home',
    map() {
        this.route('main-page', { path: 'page' });

    }
};

I was working fine as well until I upgraded my application from 1.2.0 to 2.1.0. I didn't find any difference in two versions with respect to routing in the documentation.Is there any change in routes documentation? Am, I doing something wrong? I am a newbie in Ember js and founding it difficult to understand the routing documentation

Full source code for the plugin is available @ github and I am using the discourse application




Aucun commentaire:

Enregistrer un commentaire