{"action":"opened","issue":{"url":"https://api.github.com/repos/Skalar/ember-keyboard-shortcuts/issues/13","repository_url":"https://api.github.com/repos/Skalar/ember-keyboard-shortcuts","labels_url":"https://api.github.com/repos/Skalar/ember-keyboard-shortcuts/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/Skalar/ember-keyboard-shortcuts/issues/13/comments","events_url":"https://api.github.com/repos/Skalar/ember-keyboard-shortcuts/issues/13/events","html_url":"https://github.com/Skalar/ember-keyboard-shortcuts/issues/13","id":170295915,"number":13,"title":"Routing via component","user":{"login":"marineb","id":234208,"avatar_url":"https://avatars.githubusercontent.com/u/234208?v=3","gravatar_id":"","url":"https://api.github.com/users/marineb","html_url":"https://github.com/marineb","followers_url":"https://api.github.com/users/marineb/followers","following_url":"https://api.github.com/users/marineb/following{/other_user}","gists_url":"https://api.github.com/users/marineb/gists{/gist_id}","starred_url":"https://api.github.com/users/marineb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marineb/subscriptions","organizations_url":"https://api.github.com/users/marineb/orgs","repos_url":"https://api.github.com/users/marineb/repos","events_url":"https://api.github.com/users/marineb/events{/privacy}","received_events_url":"https://api.github.com/users/marineb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-09T23:37:08Z","updated_at":"2016-08-09T23:37:08Z","closed_at":null,"body":"Hi, \r\n\r\nIs there anyway to re-route within the component instead of via a route? \r\nWhat is then the point to add the keyboard shortcuts to the component if we still need to also add the functions in the route? Unless I'm missing something? I don't want to have to repeat my \"actions\" in each route. I'd like to contain all of this in my component. Is it possible?\r\n\r\nThank you!\r\n\r\n    import Ember from 'ember';\r\n    import KeyboardShortcuts from 'ember-keyboard-shortcuts/mixins/component';\r\n     \r\n    export default Ember.Component.extend(\r\n      KeyboardShortcuts,\r\n     \r\n      {\r\n        keyboardShortcuts: {\r\n          'esc'    : 'cancel',\r\n          'ctrl+s' : 'save'\r\n        }\r\n      }\r\n    );\r\n\r\n"}}
{"actor":{"display_login":"marineb"}}