AngularJS + Devise + Rails API. Redirect to login if attempting to access API resource without being signed in
Remove minification on production/Heroku
Trying different angular syntax to make heroku minification happy
AngularJS + Devise + Rails API. Redirect to login if attempting to access API resource without being signed in. HEROKU COMPATIBLE SYNTAX