mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 14:03:28 -04:00
Normalize some URLs that used both .s and _s to use only .s
This commit is contained in:
parent
6ecd54baa5
commit
c0d9c231bc
3 changed files with 3 additions and 3 deletions
app/views
admin
editor
|
@ -4,7 +4,7 @@ LevelSession = require 'models/LevelSession'
|
|||
CocoCollection = require 'collections/CocoCollection'
|
||||
|
||||
class LevelSessionCollection extends CocoCollection
|
||||
url: '/db/level_session/x/active?project=screenshot,levelName,creatorName'
|
||||
url: '/db/level.session/x/active?project=screenshot,levelName,creatorName'
|
||||
model: LevelSession
|
||||
|
||||
module.exports = class LevelSessionsView extends RootView
|
||||
|
|
|
@ -464,7 +464,7 @@ module.exports = class CampaignLevelView extends CocoView
|
|||
@analytics.recentSessions.data = data
|
||||
doneCallback()
|
||||
request = @supermodel.addRequestResource 'level_sessions_recent', {
|
||||
url: "/db/level_session/-/recent"
|
||||
url: "/db/level.session/-/recent"
|
||||
data: {slug: @levelSlug, limit: limit}
|
||||
method: 'POST'
|
||||
success: success
|
||||
|
|
|
@ -5,7 +5,7 @@ LevelSystem = require 'models/LevelSystem'
|
|||
CocoCollection = require 'collections/CocoCollection'
|
||||
|
||||
class LevelSystemSearchCollection extends CocoCollection
|
||||
url: '/db/level_system'
|
||||
url: '/db/level.system'
|
||||
model: LevelSystem
|
||||
|
||||
module.exports = class AddLevelSystemModal extends ModalView
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue