mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-11 08:11:21 -05:00
12 lines
334 B
CoffeeScript
12 lines
334 B
CoffeeScript
mongoose = require('mongoose')
|
|
EarnedAchievement = require './EarnedAchievement'
|
|
Handler = require '../commons/Handler'
|
|
|
|
class EarnedAchievementHandler extends Handler
|
|
modelClass: EarnedAchievement
|
|
|
|
# Don't allow POSTs or anything yet
|
|
hasAccess: (req) ->
|
|
req.method is 'GET'
|
|
|
|
module.exports = new EarnedAchievementHandler()
|