I have a mixin for authorization checking which is included in application route so that all other routes get access to the mixin without explicitly importing it. However, I want to exclude my login route from inheriting it. How can I achieve that? One workaround is to import the mixin in all routes individually but that's error prone and don't want to resort to it unless I am sure that there is no way out.
Thanks.
Aucun commentaire:
Enregistrer un commentaire