codecombat/app/views/TeachersView.coffee
Matt Lott c7a7a9d3ac Redirect /teachers to /courses/teachers?hoc=true
Will update /teachers soon with relevant information, but at the moment
it is too outdated.
2015-11-13 10:30:37 -08:00

12 lines
380 B
CoffeeScript

RootView = require 'views/core/RootView'
template = require 'templates/teachers'
module.exports = class TeachersView extends RootView
id: 'teachers-view'
template: template
constructor: ->
super()
# Redirect to HoC version of /courses/teachers until we update the /teachers landing page
application.router.navigate "/courses/teachers?hoc=true", trigger: true