codecombat/app/views/TeachersView.coffee

13 lines
398 B
CoffeeScript
Raw Normal View History

RootView = require 'views/core/RootView'
2014-01-03 13:32:13 -05:00
template = require 'templates/teachers'
module.exports = class TeachersView extends RootView
2014-06-30 22:16:26 -04:00
id: 'teachers-view'
2014-01-03 13:32:13 -05:00
template: template
constructor: ->
super()
_.defer ->
# Redirect to HoC version of /courses/teachers until we update the /teachers landing page
application.router.navigate "/courses/teachers?hoc=true", trigger: true