codecombat/server/handlers/campaign.coffee

12 lines
307 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']
2014-01-03 13:32:13 -05:00
module.exports = new CampaignHandler()