Add destroyRecord route action
This commit is contained in:
@@ -108,6 +108,7 @@ export default Ember.Component.extend
|
||||
else
|
||||
model.rollbackAttributes() if typeof model.rollbackAttributes is 'function'
|
||||
@send 'close'
|
||||
|
||||
destroyRecord: ->
|
||||
my_scope = @
|
||||
destroy_callback = @get('modal_options.destroy_callback') || ->
|
||||
|
||||
Reference in New Issue
Block a user