codecombat/server/campaigns/campaign_handler.coffee

10 lines
250 B
CoffeeScript
Raw Normal View History

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