mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-04 21:01:06 -05:00
12 lines
398 B
CoffeeScript
12 lines
398 B
CoffeeScript
RootView = require 'views/core/RootView'
|
|
template = require 'templates/account/payments-view'
|
|
CocoCollection = require 'collections/CocoCollection'
|
|
Payments = require 'collections/Payments'
|
|
|
|
module.exports = class PaymentsView extends RootView
|
|
id: "payments-view"
|
|
template: template
|
|
|
|
initialize: ->
|
|
@payments = new Payments()
|
|
@supermodel.trackRequest(@payments.fetch({cache: false}))
|