Skip to content

Instantly share code, notes, and snippets.

@lessless
Forked from anonymous/form.handlebars
Created April 10, 2014 17:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lessless/10403329 to your computer and use it in GitHub Desktop.
Save lessless/10403329 to your computer and use it in GitHub Desktop.
Error: Attempted to handle event `didSetProperty` on <Seotool.Url:ember634:null> while in state root.deleted.saved. Called with {name: destination, oldValue: undefined, originalValue: undefined, value: undefined}.
{{input class="form-control col-lg-8" value=address}}
{{input class="form-control col-lg-8" value=domain}}
{{input class="form-control col-lg-8" value=destination}}
App.Url = DS.Model.extend Ember.Validations.Mixin,
address: DS.attr 'string'
destination: DS.attr 'string'
webmaster: DS.belongsTo 'webmaster'
url_type: DS.belongsTo 'url_type'
##
App.UrlNewRoute = Ember.Route.extend
actions:
save: ->
controller = @get('controller')
# webmaster url_type
url = @store.createRecord 'url', controller.getProperties('address destination domain'.w())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment