Accessing ENV variables in controller


#1

The ENV variable is made available in index.html,how do i make it available in controller also.


#2

This’ll be helpful.

http://ember.zone/handling-environment-data-with-ember-js/


#3

That site is down now, could you post the actual solution here instead?


#4

Sounds a lot like https://github.com/fivetanley/ember-cli-dotenv