codecombat/server/handlers/campaign.coffee

10 lines
305 B
CoffeeScript
Raw Normal View History

2014-01-03 13:32:13 -05:00
winston = require('winston')
request = require('request')
Campaign = require('../models/Campaign')
Handler = require('./Handler')
CampaignHandler = class CampaignHandler extends Handler
modelClass: Campaign
editableProperties: ['name', 'description', 'levels']
module.exports = new CampaignHandler()