Fix user.code.problem routes to use . instead of _
This commit is contained in:
parent
401d383ff4
commit
b31e5fc93a
2 changed files with 2 additions and 1 deletions
|
@ -403,7 +403,7 @@ module.exports = class CampaignLevelView extends CocoView
|
||||||
@analytics.commonProblems.data = data
|
@analytics.commonProblems.data = data
|
||||||
doneCallback()
|
doneCallback()
|
||||||
request = @supermodel.addRequestResource 'common_problems', {
|
request = @supermodel.addRequestResource 'common_problems', {
|
||||||
url: '/db/user_code_problem/-/common_problems'
|
url: '/db/user.code.problem/-/common_problems'
|
||||||
data: {startDay: startDay, endDay: endDay, slug: @levelSlug}
|
data: {startDay: startDay, endDay: endDay, slug: @levelSlug}
|
||||||
method: 'POST'
|
method: 'POST'
|
||||||
success: success
|
success: success
|
||||||
|
|
|
@ -45,6 +45,7 @@ module.exports.handlerUrlOverrides =
|
||||||
'mail_sent': 'mail.sent'
|
'mail_sent': 'mail.sent'
|
||||||
'user_polls_record': 'user.polls.record'
|
'user_polls_record': 'user.polls.record'
|
||||||
'trial_request': 'trial.request'
|
'trial_request': 'trial.request'
|
||||||
|
'user_code_problem': 'user.code.problem'
|
||||||
|
|
||||||
module.exports.routes =
|
module.exports.routes =
|
||||||
[
|
[
|
||||||
|
|
Reference in a new issue