{"action":"created","issue":{"url":"https://api.github.com/repos/emberjs/ember.js/issues/11287","labels_url":"https://api.github.com/repos/emberjs/ember.js/issues/11287/labels{/name}","comments_url":"https://api.github.com/repos/emberjs/ember.js/issues/11287/comments","events_url":"https://api.github.com/repos/emberjs/ember.js/issues/11287/events","html_url":"https://github.com/emberjs/ember.js/issues/11287","id":81352515,"number":11287,"title":"Mixin applied to Controller uses wrong `target`?","user":{"login":"herom","id":2472487,"avatar_url":"https://avatars.githubusercontent.com/u/2472487?v=3","gravatar_id":"","url":"https://api.github.com/users/herom","html_url":"https://github.com/herom","followers_url":"https://api.github.com/users/herom/followers","following_url":"https://api.github.com/users/herom/following{/other_user}","gists_url":"https://api.github.com/users/herom/gists{/gist_id}","starred_url":"https://api.github.com/users/herom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/herom/subscriptions","organizations_url":"https://api.github.com/users/herom/orgs","repos_url":"https://api.github.com/users/herom/repos","events_url":"https://api.github.com/users/herom/events{/privacy}","received_events_url":"https://api.github.com/users/herom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-27T08:45:07Z","updated_at":"2015-05-27T13:39:14Z","closed_at":null,"body":"If I create a `Mixin` which I want to use in several `Controller`s, `Component`s, etc. I'd expect that any call to `this.send()` within the mixin is using the \"right\" `target` which would obviously be it's `route`, but it seems that always the main(?) route wins.\r\n\r\nIs this expected behaviour, or is this a bug? Here is an [JSBIN example](http://emberjs.jsbin.com/heniqolijo/1/edit?html,js,console,output) demonstrating the issue (I hope).\r\n\r\nHere's the console output:\r\n```console\r\nError while processing route: foo.failing Nothing handled the action 'triggeredAction'. If you did handle the action, this error can be caused by returning true from an action handler in a controller, causing the action to bubble. Error: Nothing handled the action 'triggeredAction'. If you did handle the action, this error can be caused by returning true from an action handler in a controller, causing the action to bubble.\r\n    at new Error (native)\r\n    at Error.EmberError (http://builds.emberjs.com/tags/v1.11.3/ember.debug.js:12061:21)\r\n    at Object.triggerEvent (http://builds.emberjs.com/tags/v1.11.3/ember.debug.js:24199:13)\r\n    at trigger (http://builds.emberjs.com/tags/v1.11.3/ember.debug.js:46535:16)\r\n    at Object.Router.trigger (http://builds.emberjs.com/tags/v1.11.3/ember.debug.js:45259:9)\r\n    at EmberObject.default.extend.send (http://builds.emberjs.com/tags/v1.11.3/ember.debug.js:23682:27)\r\n    at mixin.Mixin.create.send (http://builds.emberjs.com/tags/v1.11.3/ember.debug.js:27817:21)\r\n    at null.didPullTrigger (http://null.jsbin.com/runner:29:11)\r\n    at Object.applyStr (http://builds.emberjs.com/tags/v1.11.3/ember.debug.js:18110:27)\r\n    at Object.sendEvent (http://builds.emberjs.com/tags/v1.11.3/ember.debug.js:12426:17)\r\n```"},"comment":{"url":"https://api.github.com/repos/emberjs/ember.js/issues/comments/105913236","html_url":"https://github.com/emberjs/ember.js/issues/11287#issuecomment-105913236","issue_url":"https://api.github.com/repos/emberjs/ember.js/issues/11287","id":105913236,"user":{"login":"herom","id":2472487,"avatar_url":"https://avatars.githubusercontent.com/u/2472487?v=3","gravatar_id":"","url":"https://api.github.com/users/herom","html_url":"https://github.com/herom","followers_url":"https://api.github.com/users/herom/followers","following_url":"https://api.github.com/users/herom/following{/other_user}","gists_url":"https://api.github.com/users/herom/gists{/gist_id}","starred_url":"https://api.github.com/users/herom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/herom/subscriptions","organizations_url":"https://api.github.com/users/herom/orgs","repos_url":"https://api.github.com/users/herom/repos","events_url":"https://api.github.com/users/herom/events{/privacy}","received_events_url":"https://api.github.com/users/herom/received_events","type":"User","site_admin":false},"created_at":"2015-05-27T13:39:14Z","updated_at":"2015-05-27T13:39:14Z","body":"@jmurphyau thanks a lot - when changing to `on('activate')` it's indeed not throwing an error anymore, but I also don't see any log output in the console(?)..."}}