Set a goal as a view
<a href="#" {{action edit target="view"}}>Edit this</a>
If your action is in the controller, use
<a href="#" {{action edit}}>Edit this</a>
Target defaults to view controller
I suggest you go through this link: Ember Action Helper
I would like to mention some key points in accordance with the link above
In a typical Ember.Router-backed application, where views are managed using the {{outlet}} helper, actions will be redirected to the current controller.
If the action is not defined in the controller, then the current route is targeted.
source share