{"action":"opened","issue":{"url":"https://api.github.com/repos/dockyard/ember-route-action-helper/issues/10","repository_url":"https://api.github.com/repos/dockyard/ember-route-action-helper","labels_url":"https://api.github.com/repos/dockyard/ember-route-action-helper/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/dockyard/ember-route-action-helper/issues/10/comments","events_url":"https://api.github.com/repos/dockyard/ember-route-action-helper/issues/10/events","html_url":"https://github.com/dockyard/ember-route-action-helper/issues/10","id":131859988,"number":10,"title":"What is route action needs to set a controller property?","user":{"login":"krzkrzkrz","id":390072,"avatar_url":"https://avatars.githubusercontent.com/u/390072?v=3","gravatar_id":"","url":"https://api.github.com/users/krzkrzkrz","html_url":"https://github.com/krzkrzkrz","followers_url":"https://api.github.com/users/krzkrzkrz/followers","following_url":"https://api.github.com/users/krzkrzkrz/following{/other_user}","gists_url":"https://api.github.com/users/krzkrzkrz/gists{/gist_id}","starred_url":"https://api.github.com/users/krzkrzkrz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krzkrzkrz/subscriptions","organizations_url":"https://api.github.com/users/krzkrzkrz/orgs","repos_url":"https://api.github.com/users/krzkrzkrz/repos","events_url":"https://api.github.com/users/krzkrzkrz/events{/privacy}","received_events_url":"https://api.github.com/users/krzkrzkrz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-06T14:25:01Z","updated_at":"2016-02-06T14:25:01Z","closed_at":null,"body":"What would you do when the closure action needs to set a controller property?\r\n\r\nTemplate has:\r\n```\r\n{{some-component save=(route-action \"saveUser\")}}\r\n```\r\n\r\nRoute has:\r\n```\r\n  actions: {\r\n    saveUser() {\r\n      let user = this.get('model');\r\n\r\n      user.save().then(() => {\r\n        this.set('showUserForm', false);\r\n        return true; // Return value\r\n      });\r\n    },\r\n```\r\n\r\nUnfortunately, routes don't share controller properties (at least, not until routable components land).\r\n\r\nIn situations like this, should we just use a \"normal\" closure action (in the controller instead). i.e. `{{some-component save=(action \"saveUser\")}}`? Or, is it still possible to use the plugin somehow?"}}