mardi 3 mars 2015

Ember-CLI Routing Nesting

I am writing a project using Ember-cli and my nesting views aren't being displayed properly. I have been playing with the routes but can't set the right thing.


The structure of my project is :


http://ift.tt/1AUyIi0


Red Rectangle ---> App Folder in Ember-CLI Project


Blue Rectangle ---> One tab


Green Rectangle ---> Another Tab


You also can see my router.js file


Both Tabs has got their own navigation bars like the following:


Polling-Manager TAB with subtabs Suspension and OptOut (See Image)


http://ift.tt/1AUyIi2


Alerts TAB This tab has got the SubTabs View and Test


It works writing manually the URL in the browser to see each navigation bar but it doesn't clicking in the Main NAVBAR (Alerts and Polling )


P.D : : Ember Debugger says me when I am in one tab and want to change to the other :


Transitioned into 'polling-manager.alert-self-service.index' while I think it should be just 'alert-self-service.index'


Any help or suggestion would be very appreciated.





Aucun commentaire:

Enregistrer un commentaire