Added Level Editor page breadcrumbs.

This commit is contained in:
Tay Yang Shun 2014-03-01 14:52:51 +08:00
parent f43dd2f3ff
commit 47b37426d0

View file

@ -30,6 +30,8 @@ module.exports = class ThangTypeHomeView extends View
context = super()
context.modelLabel = @modelLabel
switch @modelLabel
when 'Level'
context.currentEditor = 'editor.level_title'
when 'Thang Type'
context.currentEditor = 'editor.thang_title'
when 'Article'