codecombat/app/views/account/PaymentsView.coffee

13 lines
398 B
CoffeeScript
Raw Normal View History

RootView = require 'views/core/RootView'
2014-11-25 14:09:29 -05:00
template = require 'templates/account/payments-view'
CocoCollection = require 'collections/CocoCollection'
Payments = require 'collections/Payments'
2014-11-25 14:09:29 -05:00
module.exports = class PaymentsView extends RootView
id: "payments-view"
template: template
initialize: ->
@payments = new Payments()
@supermodel.trackRequest(@payments.fetch({cache: false}))