How do I transition to a route pragmatically from inside a component action?
I tried to use @get(\'controller\').transitionToRoute(\'images\'
You could pass the controller in via a binding and then access it inside your component like so:
{{image-editor currentControllerBinding="controller"}}
App.ImageEditorComponent = Ember.Component.extend
...
actions:
delete: ->
App.Files.removeObject(object)
@get('currentController').transitionToRoute('images')
...