mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-11 16:21:08 -05:00
aeddfe77d6
Also remove templating for deprecated progress tab
9 lines
362 B
CoffeeScript
9 lines
362 B
CoffeeScript
module.exports =
|
|
playDevLevel: ({level, session, course}) ->
|
|
shareURL = "#{window.location.origin}/play/#{level.get('type')}-level/#{level.get('slug')}/#{session.id}"
|
|
shareURL += "?course=#{course.id}" if course
|
|
return shareURL
|
|
|
|
courseArenaLadder: ({level, courseInstance}) ->
|
|
"/play/ladder/#{level.get('slug')}/course/#{courseInstance.id}"
|
|
|