lundi 28 mars 2016

Test route inside Ember application

We've created a custom Ember compiler, which allows to introduce user roles inside the Ember application.

This method makes sure that a custom app.js is generated, containing only the routes/controllers that the user has access to, based on it's user role.

Is there a method available to test if a specific Ember route (by name) is available, so I can hide/show specific menu items?

We are currently using Ember v2.0.2.




Aucun commentaire:

Enregistrer un commentaire