mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-27 06:23:41 -04:00
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
|
||||
doneCallback()
|
||||
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}
|
||||
method: 'POST'
|
||||
success: success
|
||||
|
|
|
@ -45,6 +45,7 @@ module.exports.handlerUrlOverrides =
|
|||
'mail_sent': 'mail.sent'
|
||||
'user_polls_record': 'user.polls.record'
|
||||
'trial_request': 'trial.request'
|
||||
'user_code_problem': 'user.code.problem'
|
||||
|
||||
module.exports.routes =
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue