Skip to content

Instantly share code, notes, and snippets.

@cloke
Created June 20, 2013 19:13
Show Gist options
  • Save cloke/5825718 to your computer and use it in GitHub Desktop.
Save cloke/5825718 to your computer and use it in GitHub Desktop.
Binders.SpotsNewRoute = Binders.ModalEditRoute.extend
model: (params) ->
m = Binders.Spot.createRecord()
m.setProperties
account_service: Binders.AccountService.createRecord()
agency_production: Binders.AgencyProduction.createRecord()
creative: Binders.Creative.createRecord()
digital: Binders.Digital.createRecord()
planner: Binders.Planner.createRecord()
post_production: Binders.PostProduction.createRecord()
shoot: Binders.Shoot.createRecord()
m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment