samedi 21 janvier 2017

Ember non-static Navbar

On index route i have login form,and with IndexController i send data to server and in response with JWT token a receive data about user position in system!Problem for me is how to achieve different navbar ,example: for admin i want Home Users Company and for standard user Home Profile! I only got idea to every route put like children to Login(i will make new), but that is very ugly solution,or something like to information from IndexController put in part of index.html who is render allways(i don't now way for that)!




Aucun commentaire:

Enregistrer un commentaire