mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-17 08:50:58 -05:00
Make trial request created property editable
This commit is contained in:
parent
9049d2498e
commit
db5f0171c7
2 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,7 @@ TrialRequestSchema = c.object {
|
|||
|
||||
_.extend TrialRequestSchema.properties,
|
||||
applicant: c.objectId(links: [{rel: 'extra', href: '/db/user/{($)}'}])
|
||||
created: c.date({readOnly: true})
|
||||
created: c.date()
|
||||
prepaidCode: c.objectId()
|
||||
reviewDate: c.date({readOnly: true})
|
||||
reviewer: c.objectId(links: [{rel: 'extra', href: '/db/user/{($)}'}])
|
||||
|
|
|
@ -61,6 +61,7 @@ TrialRequestSchema.post 'save', (doc) ->
|
|||
|
||||
TrialRequestSchema.statics.privateProperties = []
|
||||
TrialRequestSchema.statics.editableProperties = [
|
||||
'created'
|
||||
'prepaidCode'
|
||||
'properties'
|
||||
'reviewDate'
|
||||
|
|
Loading…
Reference in a new issue