mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-02 11:58:10 -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()
|