Advertisement
enyo

Untitled

Jan 30th, 2013
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. App.ProductsProductController = Ember.ObjectController.extend
  2.  
  3.   addArticle: ->
  4.     @get("content").get("articles").addObject App.Article.createRecord(
  5.       name: "New article"
  6.       netPrice: 10
  7.       tax: 0.2
  8.     )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement