mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-18 03:23:42 -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}))
|