app/assets/javascripts/ember-auth/ember-auth.js in ember-auth-rails-3.4.2 vs app/assets/javascripts/ember-auth/ember-auth.js in ember-auth-rails-3.4.3
- old
+ new
@@ -62,10 +62,10 @@
var base;
base = Auth.Config.get('baseUrl');
if (base && base[base.length - 1] === '/') {
base = base.substr(0, base.length - 1);
}
- if (path[0] === '/') {
+ if ((path != null ? path[0] : void 0) === '/') {
path = path.substr(1, path.length);
}
return [base, path].join('/');
},
resolveRedirectRoute: function(type) {