Redirect /teachers to /courses/teachers?hoc=true

Will update /teachers soon with relevant information, but at the moment
it is too outdated.
This commit is contained in:
Matt Lott 2015-11-13 10:30:37 -08:00
parent c7118d69e5
commit c7a7a9d3ac

View file

@ -4,3 +4,9 @@ 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