samedi 28 mars 2015

Correct way to access current application configuration

I added some configurations to myapp/config/environment:



if (environment === 'development') {
ENV.APP.AuthURL = 'http://localhost:5000/';
}


Now, to access this configuration should I use some method or directly accessing window.Myapp?





Aucun commentaire:

Enregistrer un commentaire