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:
parent
c7118d69e5
commit
c7a7a9d3ac
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Reference in a new issue