{"action":"closed","issue":{"url":"https://api.github.com/repos/mike-north/ember-anchor/issues/40","repository_url":"https://api.github.com/repos/mike-north/ember-anchor","labels_url":"https://api.github.com/repos/mike-north/ember-anchor/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/mike-north/ember-anchor/issues/40/comments","events_url":"https://api.github.com/repos/mike-north/ember-anchor/issues/40/events","html_url":"https://github.com/mike-north/ember-anchor/issues/40","id":166563665,"number":40,"title":"Recommended use : not working with ember 2.4","user":{"login":"sharmaomkar","id":18164479,"avatar_url":"https://avatars.githubusercontent.com/u/18164479?v=3","gravatar_id":"","url":"https://api.github.com/users/sharmaomkar","html_url":"https://github.com/sharmaomkar","followers_url":"https://api.github.com/users/sharmaomkar/followers","following_url":"https://api.github.com/users/sharmaomkar/following{/other_user}","gists_url":"https://api.github.com/users/sharmaomkar/gists{/gist_id}","starred_url":"https://api.github.com/users/sharmaomkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharmaomkar/subscriptions","organizations_url":"https://api.github.com/users/sharmaomkar/orgs","repos_url":"https://api.github.com/users/sharmaomkar/repos","events_url":"https://api.github.com/users/sharmaomkar/events{/privacy}","received_events_url":"https://api.github.com/users/sharmaomkar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-20T11:55:08Z","updated_at":"2016-07-22T13:58:16Z","closed_at":"2016-07-22T13:58:16Z","body":"I tried the instructions given in recommended use section with ember 2.4 but it didn't worked.\r\n\r\n..templates/contact.hbs\r\n`{{ember-anchor a=myQueryParam}}\r\n  \r\n  {{link-to 'Go to First' 'contact' (query-params anchor='first') }} \r\n  {{link-to 'Go to Second' 'contact' (query-params anchor='second') }} \r\n  {{link-to 'Go to Third' 'contact' (query-params anchor='third') }} \r\n  <h4 data-anchor='first'>First</h4>    \r\n  This line is first line.\r\n  This line is first line.\r\n  This line is first line.\r\n  This line is first line.\r\n  This line is first line.\r\n  This line is first line.\r\n\r\n  <h4 data-anchor='second'>Second</h4>    \r\n  This line is first line.\r\n  This line is first line.\r\n  This line is first line.\r\n  This line is first line.\r\n  This line is first line.\r\n  This line is first line.\r\n\r\n  <h4 data-anchor='third'>Third</h4>\r\n  This line is first line.\r\n  This line is first line.\r\n  This line is first line.\r\n  This line is first line.\r\n  This line is first line.\r\n  This line is first line.\r\n`\r\nAlso, I added controller, ../controller/contact.js but page navigation with the headers not working.\r\n`import Ember from 'ember';\r\nimport ControllerSupport from 'ember-anchor/mixins/controller-support';\r\n\r\nexport default Ember.Controller.extend(ControllerSupport, {\r\n    queryParams:['anchor'],\r\n    anchor: 'first'\r\n});\r\n`"}}
{"actor":{"display_login":"sharmaomkar"}}