mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-12 00:31:21 -05:00
12 lines
398 B
CoffeeScript
12 lines
398 B
CoffeeScript
RootView = require 'views/core/RootView'
|
|
template = require 'templates/teachers'
|
|
|
|
module.exports = class TeachersView extends RootView
|
|
id: 'teachers-view'
|
|
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
|