mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-05-03 17:33:31 -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'
|
CocoCollection = require 'collections/CocoCollection'
|
||||||
|
|
||||||
class LevelSessionCollection extends 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
|
model: LevelSession
|
||||||
|
|
||||||
module.exports = class LevelSessionsView extends RootView
|
module.exports = class LevelSessionsView extends RootView
|
||||||
|
|
|
@ -464,7 +464,7 @@ module.exports = class CampaignLevelView extends CocoView
|
||||||
@analytics.recentSessions.data = data
|
@analytics.recentSessions.data = data
|
||||||
doneCallback()
|
doneCallback()
|
||||||
request = @supermodel.addRequestResource 'level_sessions_recent', {
|
request = @supermodel.addRequestResource 'level_sessions_recent', {
|
||||||
url: "/db/level_session/-/recent"
|
url: "/db/level.session/-/recent"
|
||||||
data: {slug: @levelSlug, limit: limit}
|
data: {slug: @levelSlug, limit: limit}
|
||||||
method: 'POST'
|
method: 'POST'
|
||||||
success: success
|
success: success
|
||||||
|
|
|
@ -5,7 +5,7 @@ LevelSystem = require 'models/LevelSystem'
|
||||||
CocoCollection = require 'collections/CocoCollection'
|
CocoCollection = require 'collections/CocoCollection'
|
||||||
|
|
||||||
class LevelSystemSearchCollection extends CocoCollection
|
class LevelSystemSearchCollection extends CocoCollection
|
||||||
url: '/db/level_system'
|
url: '/db/level.system'
|
||||||
model: LevelSystem
|
model: LevelSystem
|
||||||
|
|
||||||
module.exports = class AddLevelSystemModal extends ModalView
|
module.exports = class AddLevelSystemModal extends ModalView
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue