{"action":"created","issue":{"url":"https://api.github.com/repos/jasonmit/ember-intl/issues/369","repository_url":"https://api.github.com/repos/jasonmit/ember-intl","labels_url":"https://api.github.com/repos/jasonmit/ember-intl/issues/369/labels{/name}","comments_url":"https://api.github.com/repos/jasonmit/ember-intl/issues/369/comments","events_url":"https://api.github.com/repos/jasonmit/ember-intl/issues/369/events","html_url":"https://github.com/jasonmit/ember-intl/issues/369","id":169509110,"number":369,"title":"Incompatibility with Ember 2.7.0 due to relative paths","user":{"login":"danevans","id":214379,"avatar_url":"https://avatars.githubusercontent.com/u/214379?v=3","gravatar_id":"","url":"https://api.github.com/users/danevans","html_url":"https://github.com/danevans","followers_url":"https://api.github.com/users/danevans/followers","following_url":"https://api.github.com/users/danevans/following{/other_user}","gists_url":"https://api.github.com/users/danevans/gists{/gist_id}","starred_url":"https://api.github.com/users/danevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danevans/subscriptions","organizations_url":"https://api.github.com/users/danevans/orgs","repos_url":"https://api.github.com/users/danevans/repos","events_url":"https://api.github.com/users/danevans/events{/privacy}","received_events_url":"https://api.github.com/users/danevans/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jasonmit/ember-intl/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-05T01:19:21Z","updated_at":"2016-08-07T23:32:51Z","closed_at":"2016-08-07T23:31:39Z","body":"Since Ember deprecated the `baseURL` option and removed the `<base>` tag entirely (http://emberjs.com/blog/2016/04/28/baseURL.html) this addon stopped working for me.\r\n\r\nI tested that this is an issue by\r\n\r\n- create a new Ember 2.7.0 app\r\n- `ember install ember-intl`\r\n- enable the polyfill `autoPolyfill: true,` in `config/ember-intl.js`\r\n- start up the app\r\n- create a route that's at least two slashes deep (i.e. `/name/:id`)\r\n- navigate to that route and observe that the asset files are referenced without a leading slash leading the browser to attempt to retrieve them from something like `http://localhost:4200/name/:id/assets/intl/intl.min.js`.\r\n\r\nI was able to work around this issue by overriding `app.intl` in `ember-cli-build.js` but I only guessed to do this after reading the source code and seeing that the plugin looks for this value then reading documentation about creating ember-cli addons and where things like their `included` gets its arguments. I suggest that the documentation be improved to mention this option on this page https://github.com/jasonmit/ember-intl/wiki/Intl.js-Polyfill and that the page be updated to not display relative paths by default once this is fixed."},"comment":{"url":"https://api.github.com/repos/jasonmit/ember-intl/issues/comments/238116031","html_url":"https://github.com/jasonmit/ember-intl/issues/369#issuecomment-238116031","issue_url":"https://api.github.com/repos/jasonmit/ember-intl/issues/369","id":238116031,"user":{"login":"jasonmit","id":3108309,"avatar_url":"https://avatars.githubusercontent.com/u/3108309?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonmit","html_url":"https://github.com/jasonmit","followers_url":"https://api.github.com/users/jasonmit/followers","following_url":"https://api.github.com/users/jasonmit/following{/other_user}","gists_url":"https://api.github.com/users/jasonmit/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonmit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonmit/subscriptions","organizations_url":"https://api.github.com/users/jasonmit/orgs","repos_url":"https://api.github.com/users/jasonmit/repos","events_url":"https://api.github.com/users/jasonmit/events{/privacy}","received_events_url":"https://api.github.com/users/jasonmit/received_events","type":"User","site_admin":false},"created_at":"2016-08-07T23:32:51Z","updated_at":"2016-08-07T23:32:51Z","body":"2.13.1, thanks"}}
{"actor":{"display_login":"jasonmit"}}